13
0
geforkt von Mirrors/Paper

Fixed NPE after traveling to another world

By: Dinnerbone <dinnerbone@dinnerbone.com>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2011-02-05 23:41:57 +00:00
Ursprung 138429d8b8
Commit e304a85e74

Datei anzeigen

@ -120,6 +120,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
server.getServer().f.d.b(entity);
entity.c = new ItemInWorldManager(((CraftWorld)location.getWorld()).getHandle());
entity.c.a = entity;
}
entity.world = ((CraftWorld)location.getWorld()).getHandle();
entity.b(location.getX(), location.getY(), location.getZ(), location.getYaw(), location.getPitch());