Revert "Working on render for DimDoors"

This reverts commit 2d085f60b8.
This commit is contained in:
StevenRS11
2013-09-09 05:29:53 -04:00
parent 17450dff60
commit 9d42565452
3 changed files with 25 additions and 10 deletions

View File

@@ -16,7 +16,14 @@ public class TileEntityDimDoor extends TileEntity
public boolean shouldRefresh(int oldID, int newID, int oldMeta, int newMeta, World world, int x, int y, int z)
{
if(newID==0&&PocketManager.getLink(x, y, z, world)!=null)
{
world.setBlock(x, y, z, mod_pocketDim.blockRift.blockID);
}
return true;
}
public boolean canUpdate()
{

View File

@@ -10,7 +10,15 @@ public class TileEntityTransTrapdoor extends TileEntity
{
public boolean hasRift;
@Override
public boolean shouldRefresh(int oldID, int newID, int oldMeta, int newMeta, World world, int x, int y, int z)
{
if (newID == 0 && PocketManager.getLink(x, y, z, world) != null)
{
world.setBlock(x, y, z, mod_pocketDim.blockRift.blockID);
}
return true;
}
@Override
public boolean canUpdate()