mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-13 00:47:52 +00:00
Fix dummy tile entities getting added to world tick list.
This commit is contained in:
1 parent
58f226f01d
commit
06fee8e57b
1 file changed
+1
-1
@@ -230,7 +230,7 @@ class TileMultipart extends TileEntity
|
||||
return
|
||||
|
||||
doesTick = tick
|
||||
if(worldObj != null)
|
||||
if(worldObj != null && worldObj.getBlockTileEntity(xCoord, yCoord, zCoord) == this)
|
||||
{
|
||||
if(tick)
|
||||
worldObj.addTileEntity(this)
|
||||
|
||||
Reference in new issue
Block a user