[SPIGOT-62] Chunk.getTileEntities() uses incorrect location Created: 30/Nov/14  Updated: 30/Nov/14  Resolved: 30/Nov/14

Status: Closed
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Schmoller Assignee: Thinkofname
Resolution: Fixed Votes: 0
Labels: Craftbukkit, bug
Environment:

CraftBukkit 1.8



 Description   

The list of TileEntities are incorrectly returned by the Chunk.getTileEntities() method. Each BlockState returned by the method is offset by the coords of the chunk.

The cause of this is that the BlockPosition stored in the nms Chunk tileEntities map is the world coords, not the chunk coords and as such does not need to be offset when being converted into BlockStates.


Generated at Fri Apr 11 13:29:03 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.