mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-27 23:45:52 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
71340a23ef |
@@ -78,7 +78,8 @@ class TileMultipart extends TileEntity with IChunkLoadTile {
|
|||||||
val it = partList.iterator
|
val it = partList.iterator
|
||||||
while (it.hasNext) {
|
while (it.hasNext) {
|
||||||
val p = it.next()
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user