13
0
geforkt von Mirrors/Paper

fixed cross world teleport

By: Tahg <tahgtahv@gmail.com>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2011-06-01 18:35:57 -04:00
Ursprung 900268f301
Commit d20f1b7bdc

Datei anzeigen

@ -173,10 +173,8 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
if (oldWorld != newWorld) {
this.entity = manager.a(entity, newWorld.dimension, false);
return true;
} else {
return entity.netServerHandler.teleport(location);
}
return entity.netServerHandler.teleport(location);
}
public void setSneaking(boolean sneak) {