Minor code cleanup

This commit is contained in:
tastybento 2019-10-09 19:16:37 -07:00
parent a8ac0eca35
commit e2b0874844
2 changed files with 514 additions and 512 deletions

View File

@ -128,7 +128,6 @@ public class EditSettingsGUI extends CommonGUI
}
@SuppressWarnings("deprecation")
private PanelItem getSettingsButton(Button button)
{
ItemStack icon;

View File

@ -346,6 +346,8 @@ public class NumberGUI
break;
}
default:
break;
}
return itemBuilder.build();
@ -402,6 +404,7 @@ public class NumberGUI
* @param input The number the player provided.
* @return The validity of the player's input.
*/
@Override
protected boolean isNumberValid(ConversationContext context, Number input)
{
return input.intValue() >= NumberGUI.this.minValue &&