mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-26 03:55:28 +01:00
Don't warn on superfluous bytes
Should be looked into, but not now™️
This commit is contained in:
parent
73093c0ff2
commit
4940ed66c1
@ -58,7 +58,7 @@ public final class Chunk1_18Type extends Type<Chunk> {
|
||||
sections[i] = sectionType.read(sectionsBuf);
|
||||
}
|
||||
} finally {
|
||||
if (sectionsBuf.readableBytes() > 0) {
|
||||
if (sectionsBuf.readableBytes() > 0 && Via.getManager().isDebug()) {
|
||||
Via.getPlatform().getLogger().warning("Found " + sectionsBuf.readableBytes() + " more bytes than expected while reading the chunk: " + chunkX + "/" + chunkZ);
|
||||
}
|
||||
sectionsBuf.release();
|
||||
|
Loading…
Reference in New Issue
Block a user