Signed-off-by: StevenRS11 <stevenrs11@aol.com>
This commit is contained in:
@@ -196,7 +196,6 @@ public class dimHelper extends DimensionManager
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
entity.worldObj.updateEntityWithOptionalForce(entity, false);
|
|
||||||
|
|
||||||
if ((entity instanceof EntityPlayerMP))
|
if ((entity instanceof EntityPlayerMP))
|
||||||
{
|
{
|
||||||
@@ -244,7 +243,6 @@ public class dimHelper extends DimensionManager
|
|||||||
|
|
||||||
WorldServer.class.cast(newWorld).theChunkProviderServer.loadChunk(MathHelper.floor_double(entity.posX) >> 4, MathHelper.floor_double(entity.posZ) >> 4);
|
WorldServer.class.cast(newWorld).theChunkProviderServer.loadChunk(MathHelper.floor_double(entity.posX) >> 4, MathHelper.floor_double(entity.posZ) >> 4);
|
||||||
|
|
||||||
new pocketTeleporter((WorldServer) newWorld, link).placeInPortal(entity, 0, 0, 0, 0);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -276,8 +274,7 @@ public class dimHelper extends DimensionManager
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
new pocketTeleporter((WorldServer) newWorld, link).placeInPortal(entity, 0, 0, 0, 0);
|
|
||||||
entity.worldObj.updateEntityWithOptionalForce(entity, false);
|
|
||||||
|
|
||||||
if ((entity instanceof EntityPlayerMP))
|
if ((entity instanceof EntityPlayerMP))
|
||||||
{
|
{
|
||||||
@@ -287,12 +284,9 @@ public class dimHelper extends DimensionManager
|
|||||||
{
|
{
|
||||||
player.mcServer.getConfigurationManager().func_72375_a(player, (WorldServer)newWorld);
|
player.mcServer.getConfigurationManager().func_72375_a(player, (WorldServer)newWorld);
|
||||||
|
|
||||||
new pocketTeleporter((WorldServer) newWorld, link).placeInPortal(entity, 0, 0, 0, 0);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
entity.worldObj.updateEntityWithOptionalForce(entity, false);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (((entity instanceof EntityPlayerMP)) && (difDest))
|
if (((entity instanceof EntityPlayerMP)) && (difDest))
|
||||||
@@ -314,6 +308,7 @@ public class dimHelper extends DimensionManager
|
|||||||
player.playerNetServerHandler.sendPacketToPlayer(new Packet43Experience(player.experience, player.experienceTotal, player.experienceLevel));
|
player.playerNetServerHandler.sendPacketToPlayer(new Packet43Experience(player.experience, player.experienceTotal, player.experienceLevel));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
entity.worldObj.updateEntityWithOptionalForce(entity, false);
|
||||||
|
|
||||||
new pocketTeleporter((WorldServer) newWorld, link).placeInPortal(entity, 0, 0, 0, 0);
|
new pocketTeleporter((WorldServer) newWorld, link).placeInPortal(entity, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user