Populating block IDs higher than 127 silently fails when using generateBlockSections

XMLWordPrintable

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

      java version "1.8.0_45"
      Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
      Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
      Windows 8.1

      When generating a chunk using the byte[][] generateBlockSections method in ChunkGenerator populating a block where the ID is bigger than 127 (example: barrier block) fails silently (block is never placed).
      Using the generateExtBlockSections method (hence using a short and not hitting an overflow) works as expected.

            Assignee:
            Unassigned
            Reporter:
            Alex S
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: