mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 12:27:59 +01:00
NPE
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
88c99f6a7b
commit
be3e8a666e
@ -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 New Issue
Block a user