You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This only happens with custom servers, vanilla does not use the single chunk packet, only the batched chunk packet (always 5 afaik). This was seen on via backwards. Reported by Couleur on matrix.
Copy file name to clipboardExpand all lines: src/integration-test/kotlin/de/bixilon/minosoft/protocol/packets/s2c/play/chunk/ChunkS2CPTest.kt
+25-1Lines changed: 25 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
/*
2
2
* Minosoft
3
-
* Copyright (C) 2020-2025 Moritz Zwerger
3
+
* Copyright (C) 2020-2026 Moritz Zwerger
4
4
*
5
5
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Copy file name to clipboardExpand all lines: src/main/java/de/bixilon/minosoft/protocol/packets/s2c/play/block/chunk/ChunkS2CP.kt
+8-11Lines changed: 8 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
/*
2
2
* Minosoft
3
-
* Copyright (C) 2020-2025 Moritz Zwerger
3
+
* Copyright (C) 2020-2026 Moritz Zwerger
4
4
*
5
5
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
6
6
*
@@ -58,7 +58,7 @@ class ChunkS2CP(buffer: PlayInByteBuffer) : PlayS2CPacket {
58
58
val prototype:ChunkData=ChunkData()
59
59
var action:ChunkAction=ChunkAction.CREATE
60
60
private set
61
-
privatelateinitvar readingData:ChunkReadingData
61
+
privatevar readingData:ChunkReadingData?=null
62
62
63
63
init {
64
64
val dimension = buffer.session.world.dimension
@@ -67,15 +67,12 @@ class ChunkS2CP(buffer: PlayInByteBuffer) : PlayS2CPacket {
Copy file name to clipboardExpand all lines: src/main/java/de/bixilon/minosoft/protocol/packets/s2c/play/sign/SignTextS2CP.kt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
/*
2
2
* Minosoft
3
-
* Copyright (C) 2020-2025 Moritz Zwerger
3
+
* Copyright (C) 2020-2026 Moritz Zwerger
4
4
*
5
5
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
6
6
*
@@ -36,6 +36,6 @@ class SignTextS2CP(buffer: PlayInByteBuffer) : PlayS2CPacket {
36
36
}
37
37
38
38
overridefunlog(reducedLog:Boolean) {
39
-
Log.log(LogMessageType.NETWORK_IN, level =LogLevels.VERBOSE) { "Sign text (position=$position, lines=$lines" }
39
+
Log.log(LogMessageType.NETWORK_IN, level =LogLevels.VERBOSE) { "Sign text (position=$position, lines=${lines.contentToString()}" }
Copy file name to clipboardExpand all lines: src/main/java/de/bixilon/minosoft/util/KUtil.kt
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
/*
2
2
* Minosoft
3
-
* Copyright (C) 2020-2025 Moritz Zwerger
3
+
* Copyright (C) 2020-2026 Moritz Zwerger
4
4
*
5
5
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
6
6
*
@@ -240,10 +240,10 @@ object KUtil {
240
240
}
241
241
242
242
fun PlayInByteBuffer.dump(name:String) {
243
-
valpointer= offset
243
+
valoffset=this@dump.offset
244
244
this.offset = data.offset
245
245
val data = readRemaining()
246
-
this.offset =pointer
246
+
this.offset =offset
247
247
248
248
val path ="/home/moritz/${name}_${Versions.getById(this.versionId)?.name?.replace(".", "_")}.bin"
0 commit comments