Fixed NPE after traveling to another world
Dieser Commit ist enthalten in:
Ursprung
7e81245caf
Commit
4c9f1a2275
@ -120,6 +120,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
|||||||
server.getServer().f.d.b(entity);
|
server.getServer().f.d.b(entity);
|
||||||
|
|
||||||
entity.c = new ItemInWorldManager(((CraftWorld)location.getWorld()).getHandle());
|
entity.c = new ItemInWorldManager(((CraftWorld)location.getWorld()).getHandle());
|
||||||
|
entity.c.a = entity;
|
||||||
}
|
}
|
||||||
entity.world = ((CraftWorld)location.getWorld()).getHandle();
|
entity.world = ((CraftWorld)location.getWorld()).getHandle();
|
||||||
entity.b(location.getX(), location.getY(), location.getZ(), location.getYaw(), location.getPitch());
|
entity.b(location.getX(), location.getY(), location.getZ(), location.getYaw(), location.getPitch());
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren