Added 1.12.x compatibility, not tested yet (#90)

This commit is contained in:
Rammelkast committed 2020-10-18 12:05:54 +02:00
1 parent a84b573fa8
commit 1428b55591
3 files changed
+9 -5

No files matched your search

@@ -78,8 +78,9 @@ public class AntiCheatReloaded extends JavaPlugin {
eventList.add(new VehicleListener());
eventList.add(new InventoryListener());
// Handles 1.9+ potion effects
if (!VersionUtil.isBountifulUpdate())
if (!VersionUtil.isBountifulUpdate()) {
eventList.add(new PotionEffectListener());
}
// Order is important in some cases, don't screw with these unless
// needed, especially config
this.setupConfig();