Taterzens [Fabric]

Taterzens [Fabric]

86.3k Downloads

NPC naming issue[Forge / Fabric]

Flemmli97 opened this issue ยท 4 comments

commented

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:

  1. Launch server '...'
  2. Spawn npc
  3. 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.

commented

Ough that's bad, thanks for report. You could try adding a space after the name until this is fixed.

commented

wrong button ๐Ÿ˜…

commented

Ah, yes, thanks for pointing out.
Seems like it could be caused by stackoverflow ...

commented

note: /npc create which spawns an npc named after you doesnt seem to cause this problem