Static access for static methods

This commit is contained in:
Matt Baxter committed 2012-06-11 21:11:49 -04:00
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);
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.");
}
}