This commit is contained in:
filoghost 2018-12-14 14:04:43 +01:00
parent 8b1ba7050b
commit 3f50588e6d

View File

@ -122,7 +122,7 @@ public class NmsManagerImpl implements NMSManager {
final int chunkX = MathHelper.floor(nmsEntity.locX / 16.0);
final int chunkZ = MathHelper.floor(nmsEntity.locZ / 16.0);
if (!nmsWorld.getChunkProviderServer().isLoaded(chunkX, chunkZ)) {
if (!nmsWorld.isChunkLoaded(chunkX, chunkZ, true)) { // The boolean "true" is currently unused
// This should never happen
nmsEntity.dead = true;
return false;