forked from xjboss/KCauldronX
Fix #228
This commit is contained in:
parent
da067694cc
commit
ed0bc9ab15
@ -472,7 +472,7 @@
|
||||
|
||||
this.calculateInitialSkylight();
|
||||
this.calculateInitialWeather();
|
||||
+ if (getServer() != null) getServer().addWorld(world); // CraftBukkit
|
||||
+ if (getServer() != null && world != null) getServer().addWorld(world); // CraftBukkit
|
||||
}
|
||||
+ // Cauldron end
|
||||
|
||||
|
@ -473,6 +473,15 @@
|
||||
this.pendingTickListEntriesHashSet.remove(nextticklistentry);
|
||||
this.pendingTickListEntriesThisTick.add(nextticklistentry);
|
||||
}
|
||||
@@ -577,7 +769,7 @@
|
||||
|
||||
this.theProfiler.endSection();
|
||||
this.pendingTickListEntriesThisTick.clear();
|
||||
- return !this.pendingTickListEntriesTreeSet.isEmpty();
|
||||
+ return !this.pendingTickListEntriesHashSet.isEmpty();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -596,7 +788,7 @@
|
||||
|
||||
if (i1 == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user