Cleanups in API

This commit is contained in:
Vincent Lee committed 2016-03-05 22:02:22 -06:00
1 parent db23bffea6
commit 3084b058da
21 files changed
+120 -119

No files matched your search

@@ -23,7 +23,7 @@ public class RecipeMiniFlower extends RecipeManaInfusion {
@Override
public boolean matches(ItemStack stack) {
String key = BotaniaAPI.internalHandler.getStackSubTileKey(stack);
String input = this.input instanceof String ? (String) this.input : BotaniaAPI.internalHandler.getStackSubTileKey((ItemStack) this.input);
String input = this.getInput() instanceof String ? (String) this.getInput() : BotaniaAPI.internalHandler.getStackSubTileKey((ItemStack) this.getInput());
return key != null && key.equals(input);
}