Fix Chunk.getTileEntities() (Fixes SPIGOT-62)

Dieser Commit ist enthalten in:
Thinkofdeath 2014-11-30 12:15:56 +00:00
Ursprung 7c0f352486
Commit 6eb0c79271

Datei anzeigen

@ -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;
}