mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 20:44:44 +00:00
Abilities are now Stored by Name not UUID
This commit is contained in:
1 parent
3d648425fa
commit
22bce4b2ac
1 file changed
+6
-6
@@ -29,19 +29,19 @@ public interface IAbilityHandler {
|
||||
boolean hasAbilityName(String name);
|
||||
|
||||
/**
|
||||
* Get all custom ability preset UUIDs.
|
||||
* Get all custom ability preset names.
|
||||
*/
|
||||
String[] getCustomAbilityIdArray();
|
||||
String[] getCustomAbilityNameArray();
|
||||
|
||||
/**
|
||||
* Check if a custom ability preset exists by UUID.
|
||||
* Check if a custom ability preset exists by name.
|
||||
*/
|
||||
boolean hasCustomAbilityId(String uuid);
|
||||
boolean hasCustomAbilityName(String name);
|
||||
|
||||
/**
|
||||
* Delete a custom ability preset by UUID.
|
||||
* Delete a custom ability preset by name.
|
||||
*
|
||||
* @return true if deleted successfully
|
||||
*/
|
||||
boolean deleteCustomAbilityById(String uuid);
|
||||
boolean deleteCustomAbilityByName(String name);
|
||||
}
|
||||
Reference in new issue
Block a user