From 78aefb1547d0c22264f8a9bd83216cdb4297b9b1 Mon Sep 17 00:00:00 2001 From: StevenRS11 Date: Mon, 24 Jun 2013 20:08:08 -0400 Subject: [PATCH] Fixed rift doors not going away. --- StevenDimDoors/mod_pocketDim/TransientDoor.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/StevenDimDoors/mod_pocketDim/TransientDoor.java b/StevenDimDoors/mod_pocketDim/TransientDoor.java index d52f679f..354607f4 100644 --- a/StevenDimDoors/mod_pocketDim/TransientDoor.java +++ b/StevenDimDoors/mod_pocketDim/TransientDoor.java @@ -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); + } }