mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-24 05:54:25 +00:00
Fix tile change event firing before parts are reloaded when removing a tile.
This commit is contained in:
1 parent
c351a71edf
commit
635e2b2d15
1 file changed
+2
-1
@@ -140,8 +140,9 @@ object MultipartGenerator
|
||||
{
|
||||
val ntile = factory.generateTile(testSet.toSeq, client)
|
||||
tile.setValid(false)
|
||||
tile.worldObj.setBlockTileEntity(tile.xCoord, tile.yCoord, tile.zCoord, ntile)
|
||||
silentAddTile(tile.worldObj, new BlockCoord(tile), ntile)
|
||||
ntile.from(tile)
|
||||
ntile.notifyTileChange()
|
||||
return ntile
|
||||
}
|
||||
return tile
|
||||
|
||||
Reference in new issue
Block a user