mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 03:59:45 +00:00
Fix #1866 Block State Interaction Issues With Pokecube and Forestry
This commit is contained in:
1 parent
1faaa6e297
commit
ee272de168
1 file changed
+3
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user