mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-03-09 12:49:06 +01:00
Now reloads upgrade templates after adding the MMOCore stats
This commit is contained in:
parent
52932b8c01
commit
3dee112199
@ -59,6 +59,8 @@ public class MMOCoreHook implements RPGHandler, Listener, DamageHandler {
|
||||
*/
|
||||
for (PlayerAttribute attribute : MMOCore.plugin.attributeManager.getAll())
|
||||
MMOItems.plugin.getStats().register("REQUIRED_" + attribute.getId().toUpperCase().replace("-", "_"), new Required_Attribute(attribute));
|
||||
|
||||
MMOItems.plugin.getUpgrades().reload();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user