NPC naming issue[Forge / Fabric]
Flemmli97 opened this issue ยท 4 comments
Describe the bug
When you rename a npc thats a player to someone online it can disconnect them and prevent them from logging on again till that npc is removed.
I am unsure how to reliably reproduce this as it doesnt happen everytime you do it.
Platform(s)
- Fabric
Environment(s)
- Server
Versions
- Minecraft 1.18.1
- Taterzens 1.8.1
- DisguiseLib: 1.1.2
To Reproduce
Steps to reproduce the behavior:
- Launch server '...'
- Spawn npc
- Rename npc to someone online
Logs
https://gist.github.com/Flemmli97/302e27e2238453b25f6abdc8596015b6
Additional context
Using this scarpet script to rename npcs:
https://gist.github.com/Flemmli97/dfb5d50115a083a50049617797d4a536
while it only runs the /npc command internally it might have something to do with this too.
Ough that's bad, thanks for report. You could try adding a space after the name until this is fixed.
Ah, yes, thanks for pointing out.
Seems like it could be caused by stackoverflow ...