mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-27 15:33:08 +00:00
Cleanups in API
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user