Hired Citizen not inheriting players name correctly
blablubbabcDEV opened this issue ยท 3 comments
Migrated from: https://dev.bukkit.org/projects/shopkeepers/issues/350
Originally posted by Bob1nz (Oct 31, 2015):
What steps will reproduce the problem?
1.Create a citizen shopkeeper for hire
2.Player hires shopkeeper (Players names is GingerNinja2008)
3.Shopkeepers name shows as GingerNinja200 (missing the last character)What is the expected output? What do you see instead?
I expected the name to be GingerNinja2008. It shows as GingerNinja200 insteadWhat version of the product are you using?
Shopkeeper 1.65, Spigot 1.8.8-R0.1-Snapshot, Citizens 2.0.16-SNAPSHOT (b1267)Do you have an error log of what happened?
No error is produced in the logsPlease provide any additional information below.
The error may be to do with the length of the players name as I was able to hire the shopkeeper and my name was fine (only 6 characters)
I am able to do /npc rename GingerNinja2008 and it shows correctly then but i believe the intended result was for it to be done upon hiring.
Originally commented by blablubbabc (Oct 31, 2015):
Hm, from my testing it seems that citizens has a built-in limit of 16 characters somewhere (maybe here). The name 'GingerNinja2008' has 15 characters, however shopkeepers adds another 2 character for the color, so try the following command on a normal citizens npc and you should get the same result:
/npc rename &aGingerNinja2008