mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-13 17:04:25 +00:00
Merge pull request #82 from unpairedbracket/master
Reorder some operations when one of many parts is removed from a tile
This commit is contained in:
commit
39eff01add
1 file changed
+2
-1
@@ -361,10 +361,11 @@ class TileMultipart extends TileEntity
|
||||
|
||||
if(!isInvalid)
|
||||
{
|
||||
val tile = MultipartGenerator.partRemoved(this, part)
|
||||
notifyPartChange(part)
|
||||
markDirty()
|
||||
markRender()
|
||||
return MultipartGenerator.partRemoved(this, part)
|
||||
return tile
|
||||
}
|
||||
|
||||
return null
|
||||
|
||||
Reference in new issue
Block a user