1
0
forked from xjboss/KCauldronX
This commit is contained in:
Prototik 2015-10-25 15:56:15 +07:00
parent da067694cc
commit ed0bc9ab15
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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)