Vectron / mapwriter

MapWriter: A minimap mod for Minecraft
MIT License
56 stars 38 forks source link

Bug in MwChunk.java #73

Open Cabchinoe opened 6 years ago

Cabchinoe commented 6 years ago

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