Chunk.getTileEntities() uses incorrect location

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • None
    • Affects Version/s: None
    • Environment:

      CraftBukkit 1.8

      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.

            Assignee:
            Thinkofname
            Reporter:
            Schmoller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: