More multiworld fixes

This commit is contained in:
Tahg
2011-05-31 13:04:52 -04:00
committed by Erik Broes
parent 62b5da4e3a
commit 8835cb905f
5 changed files with 393 additions and 12 deletions

View File

@@ -172,8 +172,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
EntityPlayer entity = getHandle();
if (oldWorld != newWorld) {
this.sendMessage("Multiworld teleporting disabled in this build. Nether works");
// this.entity = manager.a(entity, newWorld.dimension, false);
this.entity = manager.a(entity, newWorld.dimension, false);
return true;
} else {
return entity.netServerHandler.teleport(location);