Fix planting in wrong dimension (#20)

* Update buildscript

* Pass the world object directly to avoid using the wrong dimension
This commit is contained in:
Jakub Szewczyk authored and GitHub committed 2022-04-27 11:21:57 +02:00
1 parent b58e4c57c7
commit 14f61b5917
3 files changed
+50 -33

No files matched your search

@@ -789,7 +789,7 @@ public class FarmController extends RectangularMultiblockControllerBase implemen
@Override
public boolean plantGermling(IFarmable germling, World world, int x, int y, int z) {
EntityPlayer player = PlayerUtil.getPlayer(world, getAccessHandler().getOwner());
return inventory.plantGermling(germling, player, x, y, z);
return inventory.plantGermling(germling, player, world, x, y, z);
}
@Override