Don't allow non-disguise parameters

This commit is contained in:
libraryaddict 2019-11-05 17:26:18 +13:00
parent 4e6cbef572
commit 6c93866122

View File

@ -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();
} }
} }