geforkt von Mirrors/Paper
small fixes
Dieser Commit ist enthalten in:
Ursprung
8b23cde79f
Commit
d465800774
@ -44,5 +44,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ this.queue = null;
|
||||
+ // Paper end
|
||||
Runnable task;
|
||||
while ((task = this.queue.poll()) != null) {
|
||||
- while ((task = this.queue.poll()) != null) {
|
||||
+ while ((task = queue.poll()) != null) { // Paper
|
||||
task.run();
|
||||
}
|
||||
}
|
||||
|
@ -92,7 +92,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+
|
||||
+ gone.remove(player);
|
||||
+
|
||||
+ final SectionPos newPosition = player.getPlayerMapSection();
|
||||
+ final SectionPos newPosition = player.getLastSectionPos();
|
||||
+ final SectionPos oldPosition = this.players.put(player, newPosition);
|
||||
+
|
||||
+ if (oldPosition == null) {
|
||||
@ -117,7 +117,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ int expectedEntries = (2 * viewDistance + 1);
|
||||
+ expectedEntries *= expectedEntries;
|
||||
+
|
||||
+ final SectionPos currPosition = player.getPlayerMapSection();
|
||||
+ final SectionPos currPosition = player.getLastSectionPos();
|
||||
+
|
||||
+ final int centerX = currPosition.getX();
|
||||
+ final int centerZ = currPosition.getZ();
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren