Do not create new Metrics instances on every reload
Bastian opened this issue ยท 0 comments
Bug Report
I've noticed the following log messages on my bStats backend:
I've taken a look at your code and currently you create a new Metrics instance on every config reload:
NametagEdit/src/main/java/com/nametagedit/plugin/NametagHandler.java
Lines 324 to 341 in 2cb78e8
Once loaded, you cannot unload bStats. When you are creating more then one instance, you just send your data twice.
It's not urgent, but I would appreciate if you could change your code to just create a Metrics instance once :-)