mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 04:57:27 +00:00
Oof
This commit is contained in:
1 parent
e284dfa4a2
commit
131815ff06
2 files changed
+4
-4
No files matched your search
@@ -38,17 +38,17 @@ public class ActionListener implements IActionListener {
|
||||
return object;
|
||||
}
|
||||
|
||||
@Override
|
||||
// @Override
|
||||
public Hook getOrCreateHook(String hookName) {
|
||||
return hooks.computeIfAbsent(hookName, Hook::new);
|
||||
}
|
||||
|
||||
@Override
|
||||
// @Override
|
||||
public Hook getHook(String hookName) {
|
||||
return hooks.get(hookName);
|
||||
}
|
||||
|
||||
@Override
|
||||
// @Override
|
||||
public boolean fire(String hookName) {
|
||||
Hook hook = hooks.get(hookName);
|
||||
if (hook != null) {
|
||||
|
||||
Reference in new issue
Block a user