From be3e8a666ecf694f427daacd403e5238b38e520c Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Sun, 6 Feb 2011 14:25:19 +0000 Subject: [PATCH] NPE By: Dinnerbone --- .../main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java | 2 -- 1 file changed, 2 deletions(-) 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 f1c62d5039..4b42c04fb1 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 @@ -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());