Another reason for dynamic check type registration.

This commit is contained in:
asofold 2016-06-27 06:52:33 +02:00
parent eeb4922ca8
commit 514877e1d1

View File

@ -3,6 +3,7 @@ package fr.neatmonster.nocheatplus.checks.net;
import org.bukkit.entity.Player;
import fr.neatmonster.nocheatplus.checks.Check;
import fr.neatmonster.nocheatplus.checks.CheckType;
import fr.neatmonster.nocheatplus.utilities.TickTask;
/**
@ -16,7 +17,7 @@ import fr.neatmonster.nocheatplus.utilities.TickTask;
public class PacketFrequency extends Check {
public PacketFrequency() {
super(null); //CheckType.NET_PACKETFREQUENCY);
super(CheckType.NET_PACKETFREQUENCY);
}
/**