mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 03:39:09 +00:00
Fix item and block localization. This is a world breaking change!
This commit is contained in:
1 parent
5fcc76a2fa
commit
83789ae8f7
78 files changed
+1119
-1120
No files matched your search
@@ -30,10 +30,10 @@ public class EventHandlerFarming {
|
||||
return;
|
||||
|
||||
Block block = event.world.getBlock(event.x, event.y, event.z);
|
||||
if (block != ForestryBlock.mushroom)
|
||||
if (!ForestryBlock.mushroom.isBlockEqual(block))
|
||||
return;
|
||||
|
||||
((BlockMushroom) ForestryBlock.mushroom).func_149878_d(event.world, event.x, event.y, event.z, event.world.rand);
|
||||
((BlockMushroom) ForestryBlock.mushroom.block()).func_149878_d(event.world, event.x, event.y, event.z, event.world.rand);
|
||||
event.setResult(Result.ALLOW);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user