mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-21 12:32:23 +00:00
Fix #1153 crash from interface methods named getWorld
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user