Fix #1153 crash from interface methods named getWorld

This commit is contained in:
mezz committed 2016-05-11 22:00:49 -07:00
1 parent 0ae2e36e90
commit 5cc181d4c7
43 files changed
+92 -133

No files matched your search

@@ -39,7 +39,7 @@ public class HasFlowersCache implements INbtWritable, INbtReadable {
public boolean hasFlowers(IBee queen, IBeeHousing beeHousing) {
IFlowerProvider flowerProvider = queen.getGenome().getFlowerProvider();
String flowerType = flowerProvider.getFlowerType();
World world = beeHousing.getWorld();
World world = beeHousing.getWorldObj();
if (flowerCoords != null) {
if (world.getTotalWorldTime() % flowerCheckInterval != flowerCheckTime) {