Compare commits

...
1 Commits
Author SHA1 Message Date
Pxx500 71340a23ef avoid callbacks to parts transferred to another tile (#58) 2026-09-12 20:06:49 +02:00
@@ -78,7 +78,8 @@ class TileMultipart extends TileEntity with IChunkLoadTile {
val it = partList.iterator
while (it.hasNext) {
val p = it.next()
if (p.tile != null) f(p)
// A replaced tile can still receive queued callbacks after its parts have moved.
if (p.tile == this) f(p)
}
}