Fixes #2403: Force stack size to 1 for removing the stack size display in the crafting amount window.

This commit is contained in:
Sebastian Hartte
2016-10-02 21:30:13 +02:00
parent a22cc2cedc
commit f316c93e38
2 changed files with 7 additions and 2 deletions
@@ -154,7 +154,7 @@ public class GuiCraftAmount extends AEBaseGui
try
{
Long.parseLong( this.amountToCraft.getText() );
this.next.enabled = this.amountToCraft.getText().length() > 0;
this.next.enabled = !this.amountToCraft.getText().isEmpty();
}
catch( final NumberFormatException e )
{