So I'm trying to figure out why the npc doesn't show up for other player's other than the user. These are the problems.
I need Player B's character to update into an npc in Player A's screen just like it does in Player B's screen
I don't know what piece of code or file I'm suppose to look at. But, I've been trying to figure it out by looking at PlayerUpdating.java, Character.java and this enum
But, so far nothing has worked.
Code:
public enum Flag {
CHAT,
FORCED_CHAT,
FORCED_MOVEMENT,
ENTITY_INTERACTION,
FACE_POSITION,
APPEARANCE,
ANIMATION,
GRAPHIC,
SINGLE_HIT,
TRANSFORM,
DOUBLE_HIT;
}
Player B did the command to transform into an npc, but does not update in Player A's screen
Player A wears an Amulet of fury(or)[it can be any other item] and Player A's character turns into an npc that is the same as Player B's, but shows only in Player B's screen
Taking off the item doesn't do anything once you put it on and become an npc like you see here
Player B turns back into a regular player and not as an npc anymore, but Player A is still an npc in Player B's screen
Now that Player B has reverted back into a player, Player A takes off the amulet once again and is now able to revert back to a player as well in Player B's screen
It seems that taking off the amulet did nothing to Player A's character in Player B's screen,
only until Player B turns back into a player does Player A's character turn back once you take an item off