fix: add setting super class checking from config

This commit is contained in:
asofold 2012-07-24 08:33:12 +02:00
parent bea446d9be
commit cb1ff7b30b

View File

@ -183,6 +183,7 @@ public class CompatNoCheatPlus extends JavaPlugin implements Listener {
hookPlayerClass.setClassNames(settings.exemptPlayerClassNames);
hookPlayerClass.setExemptAll(settings.exemptAllPlayerClassNames);
hookPlayerClass.setPlayerClassName(settings.playerClassName);
hookPlayerClass.setCheckSuperClass(settings.exemptSuperClass);
// Re-enable plugins that were not yet on the list:
Server server = getServer();
Logger logger = server.getLogger();