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.

This commit is contained in:
David Berdik 2022-06-14 19:32:39 -04:00
parent 59e815e5ba
commit e44ec179c3

View File

@ -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);