Skip to content

Commit

Permalink
fix: correctly read nbt on recent versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mworzala committed Dec 20, 2023
1 parent a2c7ebc commit 724c5a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/hollowcube/polar/PolarReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ private PolarReader() {}
if (version <= PolarWorld.VERSION_MINESTOM_NBT_READ_BREAK) {
nbt = (NBTCompound) legacyReadNBT(buffer);
} else {
buffer.read(NBT);
nbt = (NBTCompound) buffer.read(NBT);
}
}

Expand Down

0 comments on commit 724c5a6

Please sign in to comment.