Closed CJCrafter closed 10 months ago
It seems that you used to use an int parameter when initializing an UpdateChecker, but not anymore. The README.md still uses an int in the example. This PR just switches those to Strings.
int
UpdateChecker
For example, in this deprecated method, you call String.valueOf(int) so you can call the method; passing the int does not work. https://github.com/mfnalex/Spigot-UpdateChecker/blob/master/src/main/java/com/jeff_media/updatechecker/UpdateChecker.java#L226
String.valueOf(int)
I also made sure to check the other methods to ensure they had ints:
https://github.com/mfnalex/Spigot-UpdateChecker/blob/master/src/main/java/com/jeff_media/updatechecker/UpdateChecker.java#L854
Thanks, CJCrafter
Thx!
It seems that you used to use an
int
parameter when initializing anUpdateChecker
, but not anymore. The README.md still uses anint
in the example. This PR just switches those to Strings.For example, in this deprecated method, you call
String.valueOf(int)
so you can call the method; passing the int does not work. https://github.com/mfnalex/Spigot-UpdateChecker/blob/master/src/main/java/com/jeff_media/updatechecker/UpdateChecker.java#L226I also made sure to check the other methods to ensure they had ints:
https://github.com/mfnalex/Spigot-UpdateChecker/blob/master/src/main/java/com/jeff_media/updatechecker/UpdateChecker.java#L854
Thanks, CJCrafter