HeroGamers / MyDog

Tamed wolves but at least 10x better
https://www.spigotmc.org/resources/mydog.70260/
MIT License
11 stars 9 forks source link

Dog nametags include the level and mode twice #99

Closed naitkodeks closed 1 year ago

naitkodeks commented 1 year ago

Type of bug

Exploit

Error log (if applicable)

No response

Bug description

Some dogs have 2 levels like in this picture

https://i.imgur.com/QaGfigz.png

Steps to reproduce

Tame a dog.

Expected behaviour

Get a dog with a level

Actual behaviour

sometimes 2/10 times u get dog like this

HeroGamers commented 1 year ago

What version of MyDog are you using? Also, what does the info command say for the dogs with names like this?

I could see this happening if MyDog somehow named the dog as, in this case DogName [1][⛨], and then try to append the levels on top of that.

Can you try enabling debug mode in the config and reproducing the error, and then give me some logs?

I'll still try to reproduce the issue myself, but it will be when I get some more time on my hands to do so.

HeroGamers commented 1 year ago

But it would probably be a good idea to use something like RexEx to remove the levels and stuff from the name of the dog (if it by accident gets added to the name).