This commit is contained in:
Anuken
2021-07-25 12:04:17 -04:00
parent b6ed5fbd6f
commit c14532ecae
7 changed files with 11 additions and 5 deletions

View File

@@ -363,7 +363,7 @@ public abstract class SaveVersion extends SaveFileReader{
int amount = stream.readInt();
for(int j = 0; j < amount; j++){
readChunk(stream, true, in -> {
byte typeid = in.readByte();
int typeid = in.readUnsignedByte();
if(mapping[typeid] == null){
in.skipBytes(lastRegionLength - 1);
return;