Don't allow non-disguise parameters
This commit is contained in:
parent
4e6cbef572
commit
6c93866122
@ -86,6 +86,8 @@ public class ParamInfoManager {
|
|||||||
itel.remove();
|
itel.remove();
|
||||||
} else if (method.getName().equals("removePotionEffect")) {
|
} else if (method.getName().equals("removePotionEffect")) {
|
||||||
itel.remove();
|
itel.remove();
|
||||||
|
} else if (!FlagWatcher.class.isAssignableFrom(method.getDeclaringClass())) {
|
||||||
|
itel.remove();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user