Fixed rift doors not going away.

This commit is contained in:
StevenRS11 2013-06-24 20:08:08 -04:00
parent 06a8abbf74
commit 78aefb1547

View file

@ -91,9 +91,10 @@ public class TransientDoor extends ExitDoor
{
if(dimHelper.dimList.containsKey(linkData.destDimID))
{
dimHelper.instance.teleportToPocket(par1World, linkData, par5Entity);
par1World.setBlock(par2, par3-1, par4, 0);
par1World.setBlock(par2, par3, par4, properties.RiftBlockID);
dimHelper.instance.teleportToPocket(par1World, linkData, par5Entity);
}
}
@ -105,9 +106,10 @@ public class TransientDoor extends ExitDoor
{
if(dimHelper.dimList.containsKey(linkData.destDimID))
{
dimHelper.instance.teleportToPocket(par1World, linkData, par5Entity);
par1World.setBlock(par2, par3, par4, 0);
par1World.setBlock(par2, par3+1, par4, properties.RiftBlockID);
dimHelper.instance.teleportToPocket(par1World, linkData, par5Entity);
}
}