geforkt von Mirrors/FastAsyncWorldEdit
Fixed issue with block IDs being returned negative in snapshots.
Dieser Commit ist enthalten in:
Ursprung
5523e7e73d
Commit
5402da6c70
@ -124,7 +124,7 @@ public class AnvilChunk implements Chunk {
|
||||
addId = (blocksAdd[section][index >> 2] & 0xF) << 8;
|
||||
}
|
||||
|
||||
return blocks[section][index] + addId;
|
||||
return blocks[section][index] & 0xFF + addId;
|
||||
} catch (IndexOutOfBoundsException e) {
|
||||
throw new DataException("Chunk does not contain position " + pos);
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren