ok this should fix it

This commit is contained in:
Bud Gidiere 2020-08-05 15:07:55 -05:00
parent 01c3f7d84a
commit 563fbe2b5b

View File

@ -33,7 +33,7 @@ index 572780ca665c0fb254cc7431af3dd7759a94f26c..00000000000000000000000000000000
-
- new TimingsExport(listeners, parent, history).start();
diff --git a/src/main/java/com/destroystokyo/paper/PaperCommand.java b/src/main/java/com/destroystokyo/paper/PaperCommand.java
index f81bd67a323f2e72bdad76c52016993a0bf88307..200ef278c7822cda12f8382bd4453c32d8f47536 100644
index f81bd67a323f2e72bdad76c52016993a0bf88307..a0fa11bb69a44969f9f95b8d4cefb4443bef2f4b 100644
--- a/src/main/java/com/destroystokyo/paper/PaperCommand.java
+++ b/src/main/java/com/destroystokyo/paper/PaperCommand.java
@@ -439,18 +439,18 @@ public class PaperCommand extends Command {
@ -49,7 +49,7 @@ index f81bd67a323f2e72bdad76c52016993a0bf88307..200ef278c7822cda12f8382bd4453c32
MutablePair<Integer, Map<ChunkCoordIntPair, Integer>> info = list.computeIfAbsent(key, k -> MutablePair.of(0, Maps.newHashMap()));
- ChunkCoordIntPair chunk = new ChunkCoordIntPair(e.chunkX, e.chunkZ);
+ ChunkCoordIntPair chunk = new ChunkCoordIntPair(entity.chunkX(), entity.chunkZ());
+ ChunkCoordIntPair chunk = new ChunkCoordIntPair(entity.chunkX, entity.chunkZ;
info.left++;
info.right.put(chunk, info.right.getOrDefault(chunk, 0) + 1);
- if (!chunkProviderServer.isInEntityTickingChunk(e)) {