Update to 1.12.1

This commit is contained in:
mezz committed 2017-08-18 20:17:18 -07:00
1 parent 8ffdba5021
commit 9269af7a13
4 files changed
+19 -13

No files matched your search

@@ -209,9 +209,13 @@ public class PluginNatura extends BlankForestryPlugin {
try {
maxAge = (int)block.getClass().getDeclaredMethod("getMaxAge").invoke(block);
seedItem = block.getPickBlock(block.getBlockState().getBaseState(), null, null, null, null);
} catch (Exception _) {return;} // if this fails just ignore the error.
} catch (Exception ignored) {
return;
}
Log.info("[PluginNatura] Addding crop '{}'", itemStack);
if(seedItem == null) return;
if (seedItem.isEmpty()) {
return;
}
FarmRegistry.getInstance().registerFarmables("farmWheat",
new FarmableAgingCrop(