mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-20 15:44:49 +01:00
NPE
This commit is contained in:
parent
dcabbda57c
commit
4e6f4e3031
2 changed files with 3 additions and 2 deletions
|
@ -162,6 +162,9 @@ class PlayerInstance {
|
|||
} else {
|
||||
this.a((Packet) (new Packet52MultiBlockChange(this.c, this.d, this.f, this.g, world))); // Craftbukkit
|
||||
|
||||
System.out.println("MultiBlockChange called for world " + world.w);
|
||||
new Exception().printStackTrace();
|
||||
|
||||
for (i = 0; i < this.g; ++i) {
|
||||
j = this.c * 16 + (this.g >> 12 & 15);
|
||||
k = this.g & 255;
|
||||
|
|
|
@ -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