Closed Quocnam201010 closed 1 year ago
Forgot to mention:
every second, the console show this:
[02:38:23 WARN]: [MyDog] Task #9 for MyDog v0.2.1 generated an exception
java.lang.NullPointerException: Cannot invoke "String.length()" because "text" is null
at java.text.SimpleDateFormat.parse(SimpleDateFormat.java:1474) ~[?:?]
at java.text.DateFormat.parse(DateFormat.java:397) ~[?:?]
at dk.fido2603.mydog.objects.Dog.getBirthday(Dog.java:166) ~[mydog-0.2.1.jar:?]
at dk.fido2603.mydog.objects.Dog.
Forgot to mention again. When i delete both config folder and jar file and redownload the plugin, the old wolves updates again.
Thanks for the bug report, I'll take a look into it!
I fixed the console error, but I need more info for the rest, with the old wolves not updating? It works fine on my end when testing, so if possible, I would like some more information on this.
The issue might auto-close because I fixed the other thing, but feel free to reopen the issue!
Type of bug
Error in console, Other unexpected behaviour
Error log (if applicable)
No response
Bug description
When I first time add the plugin to my server, every time i right clicked on the old wolf, it updates to the new wolf. But when I restart the server, the old wolfs no longer update.
Steps to reproduce
Expected behaviour
Old wolves update to new wolves
Actual behaviour
Old wolves don't update to new wolves