1
0
Fork 0
kcx-1614
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.calculateInitialSkylight();
this.calculateInitialWeather(); this.calculateInitialWeather();
+ if (getServer() != null) getServer().addWorld(world); // CraftBukkit + if (getServer() != null && world != null) getServer().addWorld(world); // CraftBukkit
} }
+ // Cauldron end + // Cauldron end

View File

@ -473,6 +473,15 @@
this.pendingTickListEntriesHashSet.remove(nextticklistentry); this.pendingTickListEntriesHashSet.remove(nextticklistentry);
this.pendingTickListEntriesThisTick.add(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 @@ @@ -596,7 +788,7 @@
if (i1 == 0) if (i1 == 0)