diff --git a/eco-api/src/main/java/com/willfp/eco/core/command/AbstractCommand.java b/eco-api/src/main/java/com/willfp/eco/core/command/AbstractCommand.java index 5410ea6a..9cb048f6 100644 --- a/eco-api/src/main/java/com/willfp/eco/core/command/AbstractCommand.java +++ b/eco-api/src/main/java/com/willfp/eco/core/command/AbstractCommand.java @@ -14,7 +14,7 @@ import org.jetbrains.annotations.Nullable; import java.util.Arrays; import java.util.List; -public abstract class AbstractCommand extends PluginDependent implements CommandExecutor { +public abstract class AbstractCommand extends PluginDependent implements CommandExecutor { /** * The name of the command *

diff --git a/eco-api/src/main/java/com/willfp/eco/core/display/DisplayModule.java b/eco-api/src/main/java/com/willfp/eco/core/display/DisplayModule.java index 7c175b18..f9dc923f 100644 --- a/eco-api/src/main/java/com/willfp/eco/core/display/DisplayModule.java +++ b/eco-api/src/main/java/com/willfp/eco/core/display/DisplayModule.java @@ -6,7 +6,7 @@ import lombok.Getter; import org.bukkit.inventory.ItemStack; import org.jetbrains.annotations.NotNull; -public abstract class DisplayModule extends PluginDependent { +public abstract class DisplayModule extends PluginDependent { /** * The priority of the module. */ diff --git a/eco-api/src/main/java/com/willfp/eco/core/recipe/recipes/ShapedCraftingRecipe.java b/eco-api/src/main/java/com/willfp/eco/core/recipe/recipes/ShapedCraftingRecipe.java index 7495cdc3..5bef58d2 100644 --- a/eco-api/src/main/java/com/willfp/eco/core/recipe/recipes/ShapedCraftingRecipe.java +++ b/eco-api/src/main/java/com/willfp/eco/core/recipe/recipes/ShapedCraftingRecipe.java @@ -17,7 +17,7 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; -public final class ShapedCraftingRecipe extends PluginDependent implements CraftingRecipe { +public final class ShapedCraftingRecipe extends PluginDependent implements CraftingRecipe { /** * Recipe parts. */ diff --git a/eco-api/src/main/java/com/willfp/eco/internal/UpdateChecker.java b/eco-api/src/main/java/com/willfp/eco/internal/UpdateChecker.java index 778f728c..aa58a11f 100644 --- a/eco-api/src/main/java/com/willfp/eco/internal/UpdateChecker.java +++ b/eco-api/src/main/java/com/willfp/eco/internal/UpdateChecker.java @@ -10,7 +10,7 @@ import java.io.InputStream; import java.net.URL; import java.util.Scanner; -public class UpdateChecker extends PluginDependent { +public class UpdateChecker extends PluginDependent { /** * Create an update checker for the specified spigot resource id. * diff --git a/eco-api/src/main/java/com/willfp/eco/internal/arrows/ArrowDataListener.java b/eco-api/src/main/java/com/willfp/eco/internal/arrows/ArrowDataListener.java index 6eb2b746..74a66591 100644 --- a/eco-api/src/main/java/com/willfp/eco/internal/arrows/ArrowDataListener.java +++ b/eco-api/src/main/java/com/willfp/eco/internal/arrows/ArrowDataListener.java @@ -13,7 +13,7 @@ import org.bukkit.inventory.ItemStack; import org.jetbrains.annotations.ApiStatus; import org.jetbrains.annotations.NotNull; -public class ArrowDataListener extends PluginDependent implements Listener { +public class ArrowDataListener extends PluginDependent implements Listener { /** * Listener to add metadata to arrows about the enchantments on the bow that shot them. * diff --git a/eco-api/src/main/java/com/willfp/eco/internal/config/updating/EcoConfigHandler.java b/eco-api/src/main/java/com/willfp/eco/internal/config/updating/EcoConfigHandler.java index b2a72b96..7431b651 100644 --- a/eco-api/src/main/java/com/willfp/eco/internal/config/updating/EcoConfigHandler.java +++ b/eco-api/src/main/java/com/willfp/eco/internal/config/updating/EcoConfigHandler.java @@ -20,7 +20,7 @@ import java.util.HashSet; import java.util.List; import java.util.Set; -public class EcoConfigHandler extends PluginDependent implements ConfigHandler { +public class EcoConfigHandler extends PluginDependent implements ConfigHandler { /** * A set of all configs that can be saved. */ diff --git a/eco-api/src/main/java/com/willfp/eco/internal/events/EcoEventManager.java b/eco-api/src/main/java/com/willfp/eco/internal/events/EcoEventManager.java index cfab3891..c9c9adbb 100644 --- a/eco-api/src/main/java/com/willfp/eco/internal/events/EcoEventManager.java +++ b/eco-api/src/main/java/com/willfp/eco/internal/events/EcoEventManager.java @@ -9,7 +9,7 @@ import org.bukkit.event.Listener; import org.jetbrains.annotations.ApiStatus; import org.jetbrains.annotations.NotNull; -public class EcoEventManager extends PluginDependent implements EventManager { +public class EcoEventManager extends PluginDependent implements EventManager { /** * Manager class for event management. * diff --git a/eco-api/src/main/java/com/willfp/eco/internal/extensions/EcoExtensionLoader.java b/eco-api/src/main/java/com/willfp/eco/internal/extensions/EcoExtensionLoader.java index 066e298f..9c6690fe 100644 --- a/eco-api/src/main/java/com/willfp/eco/internal/extensions/EcoExtensionLoader.java +++ b/eco-api/src/main/java/com/willfp/eco/internal/extensions/EcoExtensionLoader.java @@ -24,7 +24,7 @@ import java.util.Set; /** * Concrete implementation of {@link ExtensionLoader}. */ -public class EcoExtensionLoader extends PluginDependent implements ExtensionLoader { +public class EcoExtensionLoader extends PluginDependent implements ExtensionLoader { /** * All currently loaded extensions. */ diff --git a/eco-api/src/main/java/com/willfp/eco/internal/factory/EcoMetadataValueFactory.java b/eco-api/src/main/java/com/willfp/eco/internal/factory/EcoMetadataValueFactory.java index b23d3193..2918232c 100644 --- a/eco-api/src/main/java/com/willfp/eco/internal/factory/EcoMetadataValueFactory.java +++ b/eco-api/src/main/java/com/willfp/eco/internal/factory/EcoMetadataValueFactory.java @@ -6,7 +6,7 @@ import com.willfp.eco.core.factory.MetadataValueFactory; import org.bukkit.metadata.FixedMetadataValue; import org.jetbrains.annotations.NotNull; -public class EcoMetadataValueFactory extends PluginDependent implements MetadataValueFactory { +public class EcoMetadataValueFactory extends PluginDependent implements MetadataValueFactory { /** * Factory class to produce {@link FixedMetadataValue}s associated with an {@link EcoPlugin}. * diff --git a/eco-api/src/main/java/com/willfp/eco/internal/factory/EcoNamespacedKeyFactory.java b/eco-api/src/main/java/com/willfp/eco/internal/factory/EcoNamespacedKeyFactory.java index 687b9ecd..95f27d59 100644 --- a/eco-api/src/main/java/com/willfp/eco/internal/factory/EcoNamespacedKeyFactory.java +++ b/eco-api/src/main/java/com/willfp/eco/internal/factory/EcoNamespacedKeyFactory.java @@ -6,7 +6,7 @@ import com.willfp.eco.core.factory.NamespacedKeyFactory; import org.bukkit.NamespacedKey; import org.jetbrains.annotations.NotNull; -public class EcoNamespacedKeyFactory extends PluginDependent implements NamespacedKeyFactory { +public class EcoNamespacedKeyFactory extends PluginDependent implements NamespacedKeyFactory { /** * Factory class to produce {@link NamespacedKey}s associated with an {@link EcoPlugin}. * diff --git a/eco-api/src/main/java/com/willfp/eco/internal/factory/EcoRunnableFactory.java b/eco-api/src/main/java/com/willfp/eco/internal/factory/EcoRunnableFactory.java index 32c2d807..4bc8dd76 100644 --- a/eco-api/src/main/java/com/willfp/eco/internal/factory/EcoRunnableFactory.java +++ b/eco-api/src/main/java/com/willfp/eco/internal/factory/EcoRunnableFactory.java @@ -9,7 +9,7 @@ import org.jetbrains.annotations.NotNull; import java.util.function.Consumer; -public class EcoRunnableFactory extends PluginDependent implements RunnableFactory { +public class EcoRunnableFactory extends PluginDependent implements RunnableFactory { /** * Factory class to produce {@link RunnableTask}s associated with an {@link EcoPlugin}. * diff --git a/eco-api/src/main/java/com/willfp/eco/internal/scheduling/EcoScheduler.java b/eco-api/src/main/java/com/willfp/eco/internal/scheduling/EcoScheduler.java index 7d3d888a..b9ab432c 100644 --- a/eco-api/src/main/java/com/willfp/eco/internal/scheduling/EcoScheduler.java +++ b/eco-api/src/main/java/com/willfp/eco/internal/scheduling/EcoScheduler.java @@ -8,7 +8,7 @@ import org.bukkit.scheduler.BukkitTask; import org.jetbrains.annotations.ApiStatus; import org.jetbrains.annotations.NotNull; -public class EcoScheduler extends PluginDependent implements Scheduler { +public class EcoScheduler extends PluginDependent implements Scheduler { /** * Create a scheduler to manage the tasks of an {@link EcoPlugin}. * diff --git a/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/EcoSpigotPlugin.java b/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/EcoSpigotPlugin.java index b0aca659..82bee588 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/EcoSpigotPlugin.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/EcoSpigotPlugin.java @@ -31,8 +31,8 @@ import com.willfp.eco.spigot.integrations.anticheat.AnticheatMatrix; import com.willfp.eco.spigot.integrations.anticheat.AnticheatNCP; import com.willfp.eco.spigot.integrations.anticheat.AnticheatSpartan; import com.willfp.eco.spigot.integrations.anticheat.AnticheatVulcan; -import com.willfp.eco.spigot.integrations.antigrief.AntigriefCombatLogX_V10; -import com.willfp.eco.spigot.integrations.antigrief.AntigriefCombatLogX_V11; +import com.willfp.eco.spigot.integrations.antigrief.AntigriefCombatLogXV10; +import com.willfp.eco.spigot.integrations.antigrief.AntigriefCombatLogXV11; import com.willfp.eco.spigot.integrations.antigrief.AntigriefFactionsUUID; import com.willfp.eco.spigot.integrations.antigrief.AntigriefGriefPrevention; import com.willfp.eco.spigot.integrations.antigrief.AntigriefKingdoms; @@ -126,11 +126,11 @@ public class EcoSpigotPlugin extends EcoPlugin { String pluginVersion = plugin_CombatLogX.getDescription().getVersion(); if (pluginVersion.startsWith("10")) { - AntigriefManager.register(new AntigriefCombatLogX_V10()); + AntigriefManager.register(new AntigriefCombatLogXV10()); } if(pluginVersion.startsWith("11")) { - AntigriefManager.register(new AntigriefCombatLogX_V11()); + AntigriefManager.register(new AntigriefCombatLogXV11()); } }), diff --git a/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/eventlisteners/EntityDeathByEntityListeners.java b/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/eventlisteners/EntityDeathByEntityListeners.java index a91e1e9d..0ee8231a 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/eventlisteners/EntityDeathByEntityListeners.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/eventlisteners/EntityDeathByEntityListeners.java @@ -17,7 +17,7 @@ import java.util.List; import java.util.Set; import java.util.concurrent.atomic.AtomicReference; -public class EntityDeathByEntityListeners extends PluginDependent implements Listener { +public class EntityDeathByEntityListeners extends PluginDependent implements Listener { /** * The events currently being built. */ diff --git a/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/gui/GUIListener.java b/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/gui/GUIListener.java index 6ae40529..f46653fb 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/gui/GUIListener.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/gui/GUIListener.java @@ -13,7 +13,7 @@ import org.bukkit.event.inventory.InventoryClickEvent; import org.bukkit.event.inventory.InventoryCloseEvent; import org.jetbrains.annotations.NotNull; -public class GUIListener extends PluginDependent implements Listener { +public class GUIListener extends PluginDependent implements Listener { /** * Pass an {@link EcoPlugin} in order to interface with it. * diff --git a/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/integrations/antigrief/AntigriefCombatLogX_V10.java b/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/integrations/antigrief/AntigriefCombatLogXV10.java similarity index 95% rename from eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/integrations/antigrief/AntigriefCombatLogX_V10.java rename to eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/integrations/antigrief/AntigriefCombatLogXV10.java index 4ef4ce62..f9407955 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/integrations/antigrief/AntigriefCombatLogX_V10.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/integrations/antigrief/AntigriefCombatLogXV10.java @@ -1,22 +1,21 @@ package com.willfp.eco.spigot.integrations.antigrief; -import java.util.Optional; - -import org.bukkit.Bukkit; -import org.bukkit.Location; -import org.bukkit.block.Block; -import org.bukkit.entity.LivingEntity; -import org.bukkit.entity.Player; - import com.SirBlobman.combatlogx.api.ICombatLogX; import com.SirBlobman.combatlogx.api.expansion.Expansion; import com.SirBlobman.combatlogx.api.expansion.ExpansionManager; import com.SirBlobman.combatlogx.expansion.newbie.helper.NewbieHelper; import com.SirBlobman.combatlogx.expansion.newbie.helper.listener.ListenerPVP; import com.willfp.eco.core.integrations.antigrief.AntigriefWrapper; +import org.bukkit.Bukkit; +import org.bukkit.Location; +import org.bukkit.block.Block; +import org.bukkit.entity.LivingEntity; +import org.bukkit.entity.Player; import org.jetbrains.annotations.NotNull; -public class AntigriefCombatLogX_V10 implements AntigriefWrapper { +import java.util.Optional; + +public class AntigriefCombatLogXV10 implements AntigriefWrapper { /** * Instance of CombatLogX. */ @@ -25,7 +24,7 @@ public class AntigriefCombatLogX_V10 implements AntigriefWrapper { /** * Create new CombatLogX antigrief. */ - public AntigriefCombatLogX_V10() { + public AntigriefCombatLogXV10() { this.instance = (ICombatLogX) Bukkit.getPluginManager().getPlugin("CombatLogX"); } diff --git a/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/integrations/antigrief/AntigriefCombatLogX_V11.java b/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/integrations/antigrief/AntigriefCombatLogXV11.java similarity index 96% rename from eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/integrations/antigrief/AntigriefCombatLogX_V11.java rename to eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/integrations/antigrief/AntigriefCombatLogXV11.java index d1c77d5c..84f38f21 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/integrations/antigrief/AntigriefCombatLogX_V11.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/integrations/antigrief/AntigriefCombatLogXV11.java @@ -1,24 +1,22 @@ package com.willfp.eco.spigot.integrations.antigrief; -import java.util.Optional; - +import com.github.sirblobman.combatlogx.api.ICombatLogX; +import com.github.sirblobman.combatlogx.api.expansion.Expansion; +import com.github.sirblobman.combatlogx.api.expansion.ExpansionManager; +import com.willfp.eco.core.integrations.antigrief.AntigriefWrapper; +import combatlogx.expansion.newbie.helper.NewbieHelperExpansion; +import combatlogx.expansion.newbie.helper.manager.PVPManager; +import combatlogx.expansion.newbie.helper.manager.ProtectionManager; import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.block.Block; import org.bukkit.entity.LivingEntity; import org.bukkit.entity.Player; - -import com.github.sirblobman.combatlogx.api.ICombatLogX; -import com.github.sirblobman.combatlogx.api.expansion.Expansion; -import com.github.sirblobman.combatlogx.api.expansion.ExpansionManager; - -import com.willfp.eco.core.integrations.antigrief.AntigriefWrapper; -import combatlogx.expansion.newbie.helper.NewbieHelperExpansion; -import combatlogx.expansion.newbie.helper.manager.PVPManager; -import combatlogx.expansion.newbie.helper.manager.ProtectionManager; import org.jetbrains.annotations.NotNull; -public class AntigriefCombatLogX_V11 implements AntigriefWrapper { +import java.util.Optional; + +public class AntigriefCombatLogXV11 implements AntigriefWrapper { /** * Instance of CombatLogX. */ @@ -27,7 +25,7 @@ public class AntigriefCombatLogX_V11 implements AntigriefWrapper { /** * Create new CombatLogX antigrief. */ - public AntigriefCombatLogX_V11() { + public AntigriefCombatLogXV11() { this.instance = (ICombatLogX) Bukkit.getPluginManager().getPlugin("CombatLogX"); } diff --git a/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/integrations/antigrief/AntigriefLands.java b/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/integrations/antigrief/AntigriefLands.java index 97cdf5de..68c42305 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/integrations/antigrief/AntigriefLands.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/integrations/antigrief/AntigriefLands.java @@ -12,7 +12,7 @@ import org.bukkit.entity.LivingEntity; import org.bukkit.entity.Player; import org.jetbrains.annotations.NotNull; -public class AntigriefLands extends PluginDependent implements AntigriefWrapper { +public class AntigriefLands extends PluginDependent implements AntigriefWrapper { /** * Lands integration. */ diff --git a/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/recipes/ShapedRecipeListener.java b/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/recipes/ShapedRecipeListener.java index 89e87716..85747531 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/recipes/ShapedRecipeListener.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/eco/spigot/recipes/ShapedRecipeListener.java @@ -21,7 +21,7 @@ import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.ShapedRecipe; import org.jetbrains.annotations.NotNull; -public class ShapedRecipeListener extends PluginDependent implements Listener { +public class ShapedRecipeListener extends PluginDependent implements Listener { /** * Pass an {@link EcoPlugin} in order to interface with it. * diff --git a/eco-core/core-proxy/src/main/java/com/willfp/eco/proxy/util/ProxyFactory.java b/eco-core/core-proxy/src/main/java/com/willfp/eco/proxy/util/ProxyFactory.java index a85035f6..aafedba1 100644 --- a/eco-core/core-proxy/src/main/java/com/willfp/eco/proxy/util/ProxyFactory.java +++ b/eco-core/core-proxy/src/main/java/com/willfp/eco/proxy/util/ProxyFactory.java @@ -11,7 +11,7 @@ import org.jetbrains.annotations.NotNull; import java.util.IdentityHashMap; import java.util.Map; -public class ProxyFactory extends PluginDependent { +public class ProxyFactory extends PluginDependent { /** * Cached proxy implementations in order to not perform expensive reflective class-finding. */