More multiworld fixes

By: Tahg <tahgtahv@gmail.com>
This commit is contained in:
CraftBukkit/Spigot 2011-05-31 13:04:52 -04:00
parent f456b6d57b
commit 900268f301

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);