diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java index 3c5a120203..8a7826ba39 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java @@ -170,9 +170,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player { entity.a.e = newEntity; entity = newEntity; } else { - oldWorld.manager.b(entity); entity.a.a(location.getX(), location.getY(), location.getZ(), location.getYaw(), location.getPitch()); - newWorld.manager.a(entity); } } @@ -181,7 +179,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player { } public boolean isSneaking() { - return entity.J(); + return entity.U(); } public void updateInventory() {