diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/matter/MatterManager.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/matter/MatterManager.kt index 97ab02b6f..176860e2c 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/matter/MatterManager.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/matter/MatterManager.kt @@ -1828,7 +1828,7 @@ object MatterManager { } else { spliced.writeBytes(buffer, 0, inflated) - if (spliced.writerIndex() >= 1 shl 24 /* 16 MiB */) { + if (spliced.writerIndex() >= 1 shl 26 /* 64 MiB */) { throw IndexOutOfBoundsException("Pipe Bomb") } }