mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-11 11:40:29 +00:00
Don't allow non-disguise parameters
This commit is contained in:
parent
4e6cbef572
commit
6c93866122
1 changed files with 2 additions and 0 deletions
|
@ -86,6 +86,8 @@ public class ParamInfoManager {
|
|||
itel.remove();
|
||||
} else if (method.getName().equals("removePotionEffect")) {
|
||||
itel.remove();
|
||||
} else if (!FlagWatcher.class.isAssignableFrom(method.getDeclaringClass())) {
|
||||
itel.remove();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue