mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +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();
|
||||
|
||||
entity.a.e = newEntity;
|
||||
newEntity.inventory = entity.inventory;
|
||||
newEntity.inventory.e = newEntity;
|
||||
entity = newEntity;
|
||||
} else {
|
||||
entity.a.a(location.getX(), location.getY(), location.getZ(), location.getYaw(), location.getPitch());
|
||||
|
|
Loading…
Reference in a new issue