Tiles of the same type are no longer reset on telepose (#576)
This commit is contained in:
parent
574c995865
commit
fd29ac8e7f
|
@ -215,9 +215,9 @@ public class TileTeleposer extends TileInventory implements ITickable
|
|||
|
||||
//Finally, we get to do something! (CLEARING TILES)
|
||||
if (finalStack.getBlock() != null)
|
||||
finalWorld.setTileEntity(finalPos, finalStack.getBlock().createTileEntity(finalWorld, finalWorld.getBlockState(finalPos)));
|
||||
finalWorld.removeTileEntity(finalPos);
|
||||
if (initialStack.getBlock() != null)
|
||||
initialWorld.setTileEntity(initialPos, initialStack.getBlock().createTileEntity(initialWorld, initialWorld.getBlockState(initialPos)));
|
||||
initialWorld.removeTileEntity(initialPos);
|
||||
|
||||
//TILES CLEARED
|
||||
IBlockState initialBlockState = initialWorld.getBlockState(initialPos);
|
||||
|
|
Loading…
Reference in a new issue