I have created some mob disguises but I'm having an issue when a player is far away from someone who is disguised and then goes back to the person disguised the disguise gets removed, how would I fix this? do I just need to resend the disguise packets? If so would the ChunkLoadEvent work since the chunk would never would get unloaded since the disguised player is keeping it loaded.
Could you show your code that handles what happens when you get disguised? I think there is something like Code: public void spawnZombie(Player p) { Zombie z = (Zombie) p.getWorld().spawnEntity(p.getLocation, EntityType.ZOMBIE); z.setRemoveWhenFarAway(false); //Does not remove the entity }