mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Fix #101, small change to lag determination and fix 1.8.8 combat checks not working
This commit is contained in:
1 parent
16c778c17f
commit
5f181c556e
6 files changed
+30
-15
No files matched your search
@@ -40,6 +40,7 @@ import com.rammelkast.anticheatreloaded.event.BlockListener;
|
||||
import com.rammelkast.anticheatreloaded.event.EntityListener;
|
||||
import com.rammelkast.anticheatreloaded.event.InventoryListener;
|
||||
import com.rammelkast.anticheatreloaded.event.PlayerListener;
|
||||
import com.rammelkast.anticheatreloaded.event.PotionEffectListener;
|
||||
import com.rammelkast.anticheatreloaded.event.VehicleListener;
|
||||
import com.rammelkast.anticheatreloaded.manage.AntiCheatManager;
|
||||
import com.rammelkast.anticheatreloaded.metrics.Metrics;
|
||||
@@ -76,6 +77,9 @@ public class AntiCheatReloaded extends JavaPlugin {
|
||||
eventList.add(new EntityListener());
|
||||
eventList.add(new VehicleListener());
|
||||
eventList.add(new InventoryListener());
|
||||
// Handles 1.9+ potion effects
|
||||
if (!VersionUtil.isBountifulUpdate())
|
||||
eventList.add(new PotionEffectListener());
|
||||
// Order is important in some cases, don't screw with these unless
|
||||
// needed, especially config
|
||||
this.setupConfig();
|
||||
|
||||
Reference in new issue
Block a user