mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 18:57:32 +00:00
Changed Abilities register method call
This commit is contained in:
1 parent
cac27535f8
commit
540903d71f
1 file changed
+1
-1
@@ -69,7 +69,7 @@ public class Register<T> {
|
||||
|
||||
public void register() {
|
||||
for (Map.Entry<String, Supplier<Ability>> entry : entries.entrySet()) {
|
||||
AbilityController.Instance.registerType(entry.getValue().get().getTypeId(), entry.getValue());
|
||||
AbilityController.Instance.registerAbility(entry.getKey(), entry.getValue().get());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user