Fix Chunk.getTileEntities() (Fixes SPIGOT-62)
This commit is contained in:
parent
7c0f352486
commit
6eb0c79271
@ -111,7 +111,7 @@ public class CraftChunk implements Chunk {
|
|||||||
}
|
}
|
||||||
|
|
||||||
BlockPosition position = (BlockPosition) obj;
|
BlockPosition position = (BlockPosition) obj;
|
||||||
entities[index++] = worldServer.getWorld().getBlockAt(position.getX() + (chunk.locX << 4), position.getY(), position.getZ() + (chunk.locZ << 4)).getState();
|
entities[index++] = worldServer.getWorld().getBlockAt(position.getX(), position.getY(), position.getZ()).getState();
|
||||||
}
|
}
|
||||||
return entities;
|
return entities;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user