From ee272de168b1d3d0c4bf445f4287c8119f98a400 Mon Sep 17 00:00:00 2001 From: Nedelosk Date: Thu, 12 Oct 2017 11:55:06 +0200 Subject: [PATCH] Fix #1866 Block State Interaction Issues With Pokecube and Forestry --- .../forestry/arboriculture/blocks/BlockAbstractLeaves.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/forestry/arboriculture/blocks/BlockAbstractLeaves.java b/src/main/java/forestry/arboriculture/blocks/BlockAbstractLeaves.java index e939cab0d..e5d626fc3 100755 --- a/src/main/java/forestry/arboriculture/blocks/BlockAbstractLeaves.java +++ b/src/main/java/forestry/arboriculture/blocks/BlockAbstractLeaves.java @@ -194,6 +194,9 @@ public abstract class BlockAbstractLeaves extends BlockLeaves implements IItemMo if (ret != null) { drops.addAll(ret); } else { + if(!(world instanceof World)){ + return; + } // leaves not harvested, get drops normally getLeafDrop(drops, (World) world, null, pos, 1.0f, fortune); }