Mapwriter 2

Mapwriter 2

2M Downloads

Bug in MwChunk.java

Cabchinoe opened this issue ยท 0 comments

commented

from brunch 1.9 to 1.12
in mapwriter/src/main/java/mapwriter/region/MwChunk.java line 162
byte[] abyte = nbttagcompound.getByteArray("Blocks"); NibbleArray nibblearray = new NibbleArray(nbttagcompound.getByteArray("Data")); NibbleArray nibblearray1 = nbttagcompound.hasKey("Add", 7) ? new NibbleArray(nbttagcompound.getByteArray("Add")) : null; extendedblockstorage.getData().setDataFromNBT(abyte, nibblearray, nibblearray1); extendedblockstorage.setBlockLight(new NibbleArray(nbttagcompound.getByteArray("BlockLight")));

nbttagcompound could not get these tags, they can be get in section in this for loop