mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2025-11-18 06:24:17 +01:00
Fixed problem with attributes on reload
This commit is contained in:
parent
389791232d
commit
dd5d7d321f
@ -189,7 +189,7 @@ public class PlayerAttributes {
|
||||
public AttributeInstance(@NotNull String attributeId) {
|
||||
this.id = attributeId;
|
||||
this.enumName = UtilityMethods.enumName(this.id);
|
||||
this.attribute = Lazy.of(() -> MMOCore.plugin.attributeManager.get(this.id));
|
||||
this.attribute = Lazy.persistent(() -> MMOCore.plugin.attributeManager.get(this.id));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user