dim doors place on rifts if you click the rifts

they dont close with items

Signed-off-by: StevenRS11 <stevenrs11@aol.com>
This commit is contained in:
StevenRS11
2013-04-07 01:53:50 -04:00
parent cefbd1c0a8
commit 9951581fb0
3 changed files with 106 additions and 8 deletions

View File

@@ -349,7 +349,7 @@ public class dimHelper extends DimensionManager
this.teleportEntity(world, entity, linkData);
if(entity instanceof EntityPlayerMP)
if(entity instanceof EntityPlayerMP&&world.provider.dimensionId!=linkData.destDimID)
{
GameRegistry.onPlayerChangedDimension((EntityPlayer)entity);
}