mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
NPE
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
88c99f6a7b
commit
be3e8a666e
1 changed files with 0 additions and 2 deletions
|
@ -142,8 +142,6 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||||
newEntity.l();
|
newEntity.l();
|
||||||
|
|
||||||
entity.a.e = newEntity;
|
entity.a.e = newEntity;
|
||||||
newEntity.inventory = entity.inventory;
|
|
||||||
newEntity.inventory.e = newEntity;
|
|
||||||
entity = newEntity;
|
entity = newEntity;
|
||||||
} else {
|
} else {
|
||||||
entity.a.a(location.getX(), location.getY(), location.getZ(), location.getYaw(), location.getPitch());
|
entity.a.a(location.getX(), location.getY(), location.getZ(), location.getYaw(), location.getPitch());
|
||||||
|
|
Loading…
Reference in a new issue