Realizedd / TokenManager

An economy plugin for minecraft.
https://www.spigotmc.org/resources/tokenmanager.8610/
GNU General Public License v3.0
29 stars 48 forks source link

Fix placeholders being lost upon using /papi reload #41

Closed akshualy closed 2 years ago

akshualy commented 4 years ago

Someone else brought to my attention that placeholders would return %tm_tokens% instead of the balance randomly.

The reason for that is that if you use an internal class to register placeholders, you have to tell PlaceholderAPI that your placeholders should not be unloaded upon calling /papi reload.

Before: image

After: javaw_2020_07_19_11_31_46

Realizedd commented 2 years ago

Included in 340464fb19752e928f3340817c03aaeeeb42db3b. Thanks for the contribution :)