Compare commits

..
1 Commits
Author SHA1 Message Date
Dan faa052f70c fix npe on chunk unload when tile is null (#46) 2026-06-05 20:58:04 +02:00
@@ -252,7 +252,9 @@ abstract class TMultiPart {
* Incremental changes should be sent rather than the whole description * Incremental changes should be sent rather than the whole description
* packet if possible. * packet if possible.
*/ */
def sendDescUpdate() = writeDesc(getWriteStream) def sendDescUpdate() {
if (tile != null) writeDesc(getWriteStream)
}
/** Called when a part is added or removed from this block space. The part /** Called when a part is added or removed from this block space. The part
* parameter may be null if several things have changed. * parameter may be null if several things have changed.