Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-1060

Populating block IDs higher than 127 silently fails when using generateBlockSections

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: