This commit is contained in:
dordsor21 2020-07-23 18:07:23 +01:00
parent 41c4018a27
commit 420e38bead
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -136,7 +136,7 @@ public abstract class BasicQueueCoordinator extends QueueCoordinator {
if (entity.getState() == null || entity.getState().getType() == EntityTypes.PLAYER) {
return false;
}
Location location = entity.getBlockLocation();
Location location = entity.getLocation();
LocalChunk chunk = getChunk(location.getBlockX() >> 4, location.getBlockZ() >> 4);
chunk.setEntity(location, entity.getState());
return true;