          }
      }
  
-@@ -907,7 +897,7 @@
+@@ -907,7 +898,7 @@
  
      public String[] func_52019_t()
      {

         {
             ChunkCoordinates var12 = var5.getEntrancePortalLocation();
             var6 = (double)var12.posX;
@@ -342,7 +332,7 @@
             par1EntityPlayerMP.setLocationAndAngles(var6, par1EntityPlayerMP.posY, var8, par1EntityPlayerMP.rotationYaw, par1EntityPlayerMP.rotationPitch);
             var5.updateEntityWithOptionalForce(par1EntityPlayerMP, false);
             var5.chunkProviderServer.chunkLoadOverride = true;

     }
 
     /**
@@ -245,6 +250,7 @@
             var5.copyPlayer(par1EntityPlayerMP);
         }
 
+        var5.dimension = par2;
         var5.entityId = par1EntityPlayerMP.entityId;
         var5.playerNetServerHandler = par1EntityPlayerMP.playerNetServerHandler;
         WorldServer var6 = this.mcServer.getWorldManager(par1EntityPlayerMP.dimension);
@@ -289,6 +295,10 @@
      */
     public void sendPlayerToOtherDimension(EntityPlayerMP par1EntityPlayerMP, int par2)
     {
