mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-15 12:02:49 +01:00
Fix Chunk.getTileEntities() (Fixes SPIGOT-62)
This commit is contained in:
parent
7c0f352486
commit
6eb0c79271
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ public class CraftChunk implements Chunk {
|
|||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue