Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-28 00:50:13 +01:00
Don't warn on superfluous bytes
Should be looked into, but not now™️
Dieser Commit ist enthalten in:
Ursprung
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();
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren