FancyMcPlugins / FancyNpcs

FancyNpcs is a simple, lightweight and fast npc plugin using packets
https://modrinth.com/plugin/fancynpcs
MIT License
134 stars 30 forks source link

NPC display name should display per-player #172

Closed Lory9098 closed 2 weeks ago

Lory9098 commented 1 month ago

Hi, i'm having this problem that with '&6+&e%player_name%' display name, %player_name%, is the name of the last player joined, the placeholder is working in fact messages:

its working properly. I haven't see the code but i'm assuming that you're creating an entity in general, but you should send a packet for the entity without creating it, to avoid this thing.

OliverSchlueter commented 1 month ago

I'll try to reproduce.

Lory9098 commented 1 month ago

and i have another problem, when an npc is sitting, if i try to make them turn to the player only the head moves, and not the body

Lory9098 commented 1 month ago

i'm sorry if i'm creating some confusion, the bug is on FancyHolograms..i'll let you know later if its on FancyNPCS too

Lory9098 commented 1 month ago

okl no only on FancyHolograms, sorry again

Grabsky commented 1 month ago

I can reproduce this issue on FancyNpcs 2.3.0. Placeholders are parsed locally, but refreshed globally for all players in range. image

OliverSchlueter commented 1 month ago

Should be fixed in the latest dev build (#206)