Fixed Various Bugs

Fixed various minor bugs affecting transient doors and teleportation.
This commit is contained in:
SenseiKiwi
2013-09-04 00:34:11 -04:00
parent 549ee54852
commit b9fcfea877
3 changed files with 4 additions and 7 deletions

View File

@@ -189,7 +189,7 @@ public class DDTeleporter
}
// Determine if our destination is in another realm.
boolean difDest = entity.dimension == destination.getDimension();
boolean difDest = entity.dimension != destination.getDimension();
if (difDest)
{
// Destination isn't loaded? Then we need to load it.
@@ -197,8 +197,8 @@ public class DDTeleporter
if (newWorld == null)
{
DimensionManager.initDimension(destination.getDimension());
newWorld = DimensionManager.getWorld(destination.getDimension());
}
newWorld = DimensionManager.getWorld(destination.getDimension());
}
else
{