mirror of
https://github.com/asofold/CompatNoCheatPlus.git
synced 2024-11-24 12:16:46 +01:00
fix: add setting super class checking from config
This commit is contained in:
parent
bea446d9be
commit
cb1ff7b30b
@ -183,6 +183,7 @@ public class CompatNoCheatPlus extends JavaPlugin implements Listener {
|
|||||||
hookPlayerClass.setClassNames(settings.exemptPlayerClassNames);
|
hookPlayerClass.setClassNames(settings.exemptPlayerClassNames);
|
||||||
hookPlayerClass.setExemptAll(settings.exemptAllPlayerClassNames);
|
hookPlayerClass.setExemptAll(settings.exemptAllPlayerClassNames);
|
||||||
hookPlayerClass.setPlayerClassName(settings.playerClassName);
|
hookPlayerClass.setPlayerClassName(settings.playerClassName);
|
||||||
|
hookPlayerClass.setCheckSuperClass(settings.exemptSuperClass);
|
||||||
// Re-enable plugins that were not yet on the list:
|
// Re-enable plugins that were not yet on the list:
|
||||||
Server server = getServer();
|
Server server = getServer();
|
||||||
Logger logger = server.getLogger();
|
Logger logger = server.getLogger();
|
||||||
|
Loading…
Reference in New Issue
Block a user