NyaaCat / LockettePro

LockettePro - A much better Lockette plugin for Bukkit
58 stars 26 forks source link

Users can't destory locks because invalid character in player name #18

Closed Yang-qwq closed 1 year ago

Yang-qwq commented 1 year ago

This is a name that can be a bug Butter#7550 When he using the plugin, a lock with below texts will created.

[私有]
Butter#7550#(uuid)

And after that, he can't doing anything because the uuid doesn't match (All the above is my infer, if i saying sth wrong, please understand me)

joshi1999 commented 1 year ago

Hello,

I have some question about that:

Best regards joshi1999

Yang-qwq commented 1 year ago

I'm using Paper build 388 (1.18.2) for my server, and it's running in offline mode.

joshi1999 commented 1 year ago

Ah, yes it's an invalid character in the name. The plugin checks for '#' and uses the part after '#' as uuid. You could change that and deploy it on your server. Also you could do a pullrequest, but I don't think it will be accepted because it is adressing a problem on invalid names, which aren't normaly possible ^^

Yang-qwq commented 1 year ago

thanks