mirror of
https://github.com/HibiscusMC/HMCCosmetics.git
synced 2025-12-30 04:19:28 +00:00
Internal Action names uppercase
This commit is contained in:
@@ -23,15 +23,15 @@ public class Actions {
|
||||
|
||||
|
||||
public static Action getAction(String id) {
|
||||
return actions.get(id);
|
||||
return actions.get(id.toUpperCase());
|
||||
}
|
||||
|
||||
public static boolean isAction(String id) {
|
||||
return actions.containsKey(id);
|
||||
return actions.containsKey(id.toUpperCase());
|
||||
}
|
||||
|
||||
public static void addAction(Action action) {
|
||||
actions.put(action.getId(), action);
|
||||
actions.put(action.getId().toUpperCase(), action);
|
||||
}
|
||||
|
||||
public static void runActions(CosmeticUser user, List<String> raw) {
|
||||
|
||||
Reference in New Issue
Block a user