Improve entity.getCurrentChunk() and use it for entity.isChunkLoaded()

This commit is contained in:
Aikar
2020-04-02 00:43:11 -04:00
parent 673d46cae1
commit 305833ef12
16 changed files with 55 additions and 55 deletions

View File

@@ -13,7 +13,7 @@ Quickly loading the exact world spawn chunk before searching the
heightmap resolves the issue without having to load all spawn chunks.
diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java
index e10740a65c..c4e85b86d9 100644
index 2648acb8bf..d8b9dbf24e 100644
--- a/src/main/java/net/minecraft/server/Entity.java
+++ b/src/main/java/net/minecraft/server/Entity.java
@@ -0,0 +0,0 @@ public abstract class Entity implements INamableTileEntity, ICommandListener, Ke