mirror of
https://github.com/asofold/CompatNoCheatPlus.git
synced 2024-09-30 04:37:27 +02:00
method name
This commit is contained in:
parent
23442aef66
commit
f7079693b0
@ -272,7 +272,7 @@ public final class NCPHookManager {
|
||||
* @param hookName
|
||||
* @return
|
||||
*/
|
||||
public static Collection<NCPHook> removeHook(String hookName){
|
||||
public static Collection<NCPHook> removeHooks(String hookName){
|
||||
Collection<NCPHook> hooks = getHooksByName(hookName);
|
||||
if (hooks.isEmpty()) return null;
|
||||
removeHooks(hooks);
|
||||
@ -284,7 +284,7 @@ public final class NCPHookManager {
|
||||
* @param hooks
|
||||
* @return A set of the removed hooks ids.
|
||||
*/
|
||||
public static Set<Integer> removeHooks( Collection<NCPHook> hooks){
|
||||
public static Set<Integer> removeHooks(Collection<NCPHook> hooks){
|
||||
Set<Integer> ids = new HashSet<Integer>();
|
||||
for (NCPHook hook : hooks){
|
||||
Integer id = removeHook(hook);
|
||||
|
Loading…
Reference in New Issue
Block a user