mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-02 11:26:42 +00:00
Fix 4096 block id support in restore and schematic. (for real this time)
This commit is contained in:
@ -127,7 +127,7 @@ public class AnvilChunk implements Chunk {
|
||||
addId = (blocksAdd[section][index >> 1] & 0xF0) << 4;
|
||||
}
|
||||
|
||||
return blocks[section][index] & 0xFF + addId;
|
||||
return (blocks[section][index] & 0xFF) + addId;
|
||||
} catch (IndexOutOfBoundsException e) {
|
||||
throw new DataException("Chunk does not contain position " + pos);
|
||||
}
|
||||
|
Reference in New Issue
Block a user