From e44ec179c381ff5f547f1af283874f1b6902534e Mon Sep 17 00:00:00 2001 From: David Berdik Date: Tue, 14 Jun 2022 19:32:39 -0400 Subject: [PATCH] Passing in null for the ProfilePublicKey for the HumanEntity class. This might not work, but I think it will based on my understanding of how this is implemented. --- .../theprogrammersworld/herobrine/NPC/Entity/HumanEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/theprogrammersworld/herobrine/NPC/Entity/HumanEntity.java b/src/main/java/net/theprogrammersworld/herobrine/NPC/Entity/HumanEntity.java index bea793d..90750f2 100644 --- a/src/main/java/net/theprogrammersworld/herobrine/NPC/Entity/HumanEntity.java +++ b/src/main/java/net/theprogrammersworld/herobrine/NPC/Entity/HumanEntity.java @@ -19,7 +19,7 @@ public class HumanEntity extends ServerPlayer { private CraftPlayer cplayer = null; public HumanEntity(final NPCCore npcCore, final NMSWorld world, final GameProfile s) { - super(npcCore.getServer().getMCServer(), world.getWorldServer(), s); + super(npcCore.getServer().getMCServer(), world.getWorldServer(), s, null); this.setGameMode(GameType.SURVIVAL);