mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-04 06:28:52 +00:00
Static access for static methods
This commit is contained in:
1 parent
698209f86a
commit
f7036ab360
1 file changed
+2
-2
@@ -47,9 +47,9 @@ public class EventListener implements Listener
|
|||||||
{
|
{
|
||||||
USAGE_LIST.put(type, getCheats(type)+1);
|
USAGE_LIST.put(type, getCheats(type)+1);
|
||||||
type.logUse(player);
|
type.logUse(player);
|
||||||
if(PLUGIN.getManager().getConfiguration().getFileLogLevel() == 2 && type.getUses(player) % 10 == 0)
|
if(Anticheat.getManager().getConfiguration().getFileLogLevel() == 2 && type.getUses(player) % 10 == 0)
|
||||||
{
|
{
|
||||||
PLUGIN.getManager().fileLog(player.getName()+" has triggered multiple "+type+" checks.");
|
Anticheat.getManager().fileLog(player.getName()+" has triggered multiple "+type+" checks.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user