From 608850d6083330746e07f6c215ae3e0ce8e816f3 Mon Sep 17 00:00:00 2001 From: Driftay Date: Wed, 16 Jun 2021 08:16:18 -0400 Subject: [PATCH] Version Change --- pom.xml | 2 +- src/main/java/pw/saber/corex/CoreX.java | 40 ++++++++++++------------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/pom.xml b/pom.xml index fb5a79a19..a5322c047 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.massivecraft Factions - 1.6.9.5-2.7.0-STABLE + 1.6.9.5-2.8.0-RC jar SaberFactions diff --git a/src/main/java/pw/saber/corex/CoreX.java b/src/main/java/pw/saber/corex/CoreX.java index e9b852884..d16b3e3f8 100644 --- a/src/main/java/pw/saber/corex/CoreX.java +++ b/src/main/java/pw/saber/corex/CoreX.java @@ -15,102 +15,102 @@ public static CustomFile getConfig() { public static void init() { FactionsPlugin.getInstance().log(Level.INFO, "CoreX Integration Starting!"); - if(getConfig().fetchBoolean("Features.Anti-Baby-Zombies")) { + if (getConfig().fetchBoolean("Features.Anti-Baby-Zombies")) { FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new AntiBabyZombie(), FactionsPlugin.getInstance()); FactionsPlugin.getInstance().log(Level.INFO, "Anti Baby Zombie Module Injected!"); } - if(getConfig().fetchBoolean("Features.Anti-Mob-Movement")) { + if (getConfig().fetchBoolean("Features.Anti-Mob-Movement")) { FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new AntiMobMovement(), FactionsPlugin.getInstance()); FactionsPlugin.getInstance().log(Level.INFO, "Anti Mob Movement Module Injected!"); } - if(getConfig().fetchBoolean("Features.Anti-Mob-Targeting")) { + if (getConfig().fetchBoolean("Features.Anti-Mob-Targeting")) { FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new AntiMobTargeting(), FactionsPlugin.getInstance()); FactionsPlugin.getInstance().log(Level.INFO, "Anti Mob Targeting Module Injected!"); } - if(getConfig().fetchBoolean("Features.Iron-Golem-Health")) { + if (getConfig().fetchBoolean("Features.Iron-Golem-Health")) { FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new IronGolemHealth(), FactionsPlugin.getInstance()); FactionsPlugin.getInstance().log(Level.INFO, "Iron Golem Health Module Injected!"); } - if(getConfig().fetchBoolean("Features.Water-Proof-Blazes")) { + if (getConfig().fetchBoolean("Features.Water-Proof-Blazes")) { FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new WaterProofBlazes(), FactionsPlugin.getInstance()); FactionsPlugin.getInstance().log(Level.INFO, "Water Proof Blazes Module Injected!"); } - if(getConfig().fetchBoolean("Features.Anti-Book-Quill-Crash")) { + if (getConfig().fetchBoolean("Features.Anti-Book-Quill-Crash")) { FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new AntiBookQuillCrash(), FactionsPlugin.getInstance()); FactionsPlugin.getInstance().log(Level.INFO, "Anti Book & Quill Crash Module Injected!"); } - if(getConfig().fetchBoolean("Features.Anti-Cobble-Monster")) { + if (getConfig().fetchBoolean("Features.Anti-Cobble-Monster")) { FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new AntiCobbleMonster(), FactionsPlugin.getInstance()); FactionsPlugin.getInstance().log(Level.INFO, "Anti Cobble Monster Module Injected!"); } - if(getConfig().fetchBoolean("Features.Anti-Death-Clip")) { + if (getConfig().fetchBoolean("Features.Anti-Death-Clip")) { FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new AntiDeathClip(), FactionsPlugin.getInstance()); FactionsPlugin.getInstance().log(Level.INFO, "Anti Death Clip Module Injected!"); } - if(getConfig().fetchBoolean("Features.Anti-Dupe")) { + if (getConfig().fetchBoolean("Features.Anti-Dupe")) { FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new AntiDupe(), FactionsPlugin.getInstance()); FactionsPlugin.getInstance().log(Level.INFO, "Anti Dupe Module Injected!"); } - if(getConfig().fetchBoolean("Features.Anti-Nether-Roof")) { + if (getConfig().fetchBoolean("Features.Anti-Nether-Roof")) { FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new AntiNetherRoof(), FactionsPlugin.getInstance()); FactionsPlugin.getInstance().log(Level.INFO, "Anti Nether Roof Module Injected!"); } - if(getConfig().fetchBoolean("Features.Anti-Piston-Glitch")) { + if (getConfig().fetchBoolean("Features.Anti-Piston-Glitch")) { FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new AntiPistonGlitch(), FactionsPlugin.getInstance()); FactionsPlugin.getInstance().log(Level.INFO, "Anti Piston Glitch Module Injected!"); } - if(getConfig().fetchBoolean("Features.Anti-Wilderness-Spawner")) { + if (getConfig().fetchBoolean("Features.Anti-Wilderness-Spawner")) { FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new AntiWildernessSpawner(), FactionsPlugin.getInstance()); FactionsPlugin.getInstance().log(Level.INFO, "Anti Wilderness Spawner Module Injected!"); } - if(getConfig().fetchBoolean("Features.Auto-Respawn")) { + if (getConfig().fetchBoolean("Features.Auto-Respawn")) { FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new AutoRespawn(), FactionsPlugin.getInstance()); FactionsPlugin.getInstance().log(Level.INFO, "Auto Respawn Module Injected!"); } - if(getConfig().fetchBoolean("Features.Book-Disenchant")) { + if (getConfig().fetchBoolean("Features.Book-Disenchant")) { FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new BookDisenchant(), FactionsPlugin.getInstance()); FactionsPlugin.getInstance().log(Level.INFO, "Book Disenchant Module Injected!"); } - if(getConfig().fetchBoolean("Features.Border-Patches")) { + if (getConfig().fetchBoolean("Features.Border-Patches")) { FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new BorderPatches(), FactionsPlugin.getInstance()); FactionsPlugin.getInstance().log(Level.INFO, "Border Patches Module Injected!"); } - if(getConfig().fetchBoolean("Features.Anti-Explosion-Damage")) { + if (getConfig().fetchBoolean("Features.Anti-Explosion-Damage")) { FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new DenyExplosionDamage(), FactionsPlugin.getInstance()); FactionsPlugin.getInstance().log(Level.INFO, "Anti Explosion Damage Module Injected!"); } - if(getConfig().fetchBoolean("Features.Anti-Dragon-Egg-TP")) { + if (getConfig().fetchBoolean("Features.Anti-Dragon-Egg-TP")) { FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new DragonEggAntiTP(), FactionsPlugin.getInstance()); FactionsPlugin.getInstance().log(Level.INFO, "Anti Dragon Egg TP Module Injected!"); } - if(getConfig().fetchBoolean("Features.Enemy-Spawner-Mine")) { + if (getConfig().fetchBoolean("Features.Enemy-Spawner-Mine")) { FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new EnemySpawnerMine(), FactionsPlugin.getInstance()); FactionsPlugin.getInstance().log(Level.INFO, "Enemy Spawner Mine Module Injected!"); } - if(getConfig().fetchBoolean("Features.Insta-Sponge-Break")) { + if (getConfig().fetchBoolean("Features.Insta-Sponge-Break")) { FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new InstaSpongeBreak(), FactionsPlugin.getInstance()); FactionsPlugin.getInstance().log(Level.INFO, "Insta Sponge Break Module Injected!"); } - if(getConfig().fetchBoolean("Features.Anti-Natural-Mobs")) { + if (getConfig().fetchBoolean("Features.Anti-Natural-Mobs")) { FactionsPlugin.getInstance().getServer().getPluginManager().registerEvents(new NaturalMobSpawning(), FactionsPlugin.getInstance()); FactionsPlugin.getInstance().log(Level.INFO, "Anti Natural Mob Spawning Module Injected!"); }