mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-04 23:47:59 +01:00
try fixing EOF on ClientClick (#1490)
This commit is contained in:
parent
993af51556
commit
01e2c43b5d
@ -242,7 +242,12 @@ final class NetworkBufferTypes {
|
||||
nbtReader = new NBTReader(new InputStream() {
|
||||
@Override
|
||||
public int read() {
|
||||
return buffer.read(BYTE);
|
||||
return buffer.read(BYTE) & 0xFF;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int available() {
|
||||
return buffer.readableBytes();
|
||||
}
|
||||
}, CompressedProcesser.NONE);
|
||||
buffer.nbtReader = nbtReader;
|
||||
|
Loading…
Reference in New Issue
Block a user