mirror of
https://github.com/ViaVersion/ViaLegacy.git
synced 2025-01-08 19:28:11 +01:00
Fixed wrong 1.7 nbt reading
This commit is contained in:
parent
ab4d1a93ca
commit
1ce8170453
@ -42,7 +42,7 @@ public class NBTType extends Type<CompoundTag> {
|
||||
@Override
|
||||
public CompoundTag read(ByteBuf buffer) throws IOException {
|
||||
final short length = buffer.readShort();
|
||||
if (length <= 0) {
|
||||
if (length < 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user