From f7ede0c509b9376805ce1003ef5975f65ba19d97 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Fri, 28 Aug 2020 18:17:19 +0100 Subject: [PATCH] Refactored EcoRunnable into enchantments package --- .../willfp/ecoenchants/{task => enchantments}/EcoRunnable.java | 2 +- .../enchantments/ecoenchants/curse/CallingCurse.java | 2 +- .../ecoenchants/enchantments/ecoenchants/curse/DecayCurse.java | 2 +- .../ecoenchants/enchantments/ecoenchants/normal/Forcefield.java | 2 +- .../ecoenchants/enchantments/ecoenchants/normal/Magnetic.java | 2 +- .../ecoenchants/enchantments/ecoenchants/special/Repairing.java | 2 +- Plugin/src/main/java/com/willfp/ecoenchants/loader/Loader.java | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) rename Plugin/src/main/java/com/willfp/ecoenchants/{task => enchantments}/EcoRunnable.java (72%) diff --git a/Plugin/src/main/java/com/willfp/ecoenchants/task/EcoRunnable.java b/Plugin/src/main/java/com/willfp/ecoenchants/enchantments/EcoRunnable.java similarity index 72% rename from Plugin/src/main/java/com/willfp/ecoenchants/task/EcoRunnable.java rename to Plugin/src/main/java/com/willfp/ecoenchants/enchantments/EcoRunnable.java index 3d005a24..c10c43dc 100644 --- a/Plugin/src/main/java/com/willfp/ecoenchants/task/EcoRunnable.java +++ b/Plugin/src/main/java/com/willfp/ecoenchants/enchantments/EcoRunnable.java @@ -1,4 +1,4 @@ -package com.willfp.ecoenchants.task; +package com.willfp.ecoenchants.enchantments; /** * Interface for Enchantments with tasks diff --git a/Plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/curse/CallingCurse.java b/Plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/curse/CallingCurse.java index 3f55031c..219d1392 100644 --- a/Plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/curse/CallingCurse.java +++ b/Plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/curse/CallingCurse.java @@ -5,7 +5,7 @@ import com.willfp.ecoenchants.enchantments.EcoEnchant; import com.willfp.ecoenchants.enchantments.EcoEnchantBuilder; import com.willfp.ecoenchants.enchantments.EcoEnchants; import com.willfp.ecoenchants.nms.Target; -import com.willfp.ecoenchants.task.EcoRunnable; +import com.willfp.ecoenchants.enchantments.EcoRunnable; import com.willfp.ecoenchants.util.HasEnchant; import com.willfp.ecoenchants.util.LocationUtils; import org.bukkit.entity.Entity; diff --git a/Plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/curse/DecayCurse.java b/Plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/curse/DecayCurse.java index 665a561f..c20cd7d3 100644 --- a/Plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/curse/DecayCurse.java +++ b/Plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/curse/DecayCurse.java @@ -5,7 +5,7 @@ import com.willfp.ecoenchants.enchantments.EcoEnchant; import com.willfp.ecoenchants.enchantments.EcoEnchantBuilder; import com.willfp.ecoenchants.enchantments.EcoEnchants; import com.willfp.ecoenchants.nms.Target; -import com.willfp.ecoenchants.task.EcoRunnable; +import com.willfp.ecoenchants.enchantments.EcoRunnable; import com.willfp.ecoenchants.util.HasEnchant; import com.willfp.ecoenchants.util.ItemDurability; import org.bukkit.inventory.ItemStack; diff --git a/Plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/normal/Forcefield.java b/Plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/normal/Forcefield.java index d621c0a7..18093997 100644 --- a/Plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/normal/Forcefield.java +++ b/Plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/normal/Forcefield.java @@ -5,7 +5,7 @@ import com.willfp.ecoenchants.enchantments.EcoEnchant; import com.willfp.ecoenchants.enchantments.EcoEnchantBuilder; import com.willfp.ecoenchants.enchantments.EcoEnchants; import com.willfp.ecoenchants.nms.Target; -import com.willfp.ecoenchants.task.EcoRunnable; +import com.willfp.ecoenchants.enchantments.EcoRunnable; import com.willfp.ecoenchants.util.HasEnchant; import org.bukkit.entity.Entity; import org.bukkit.entity.Monster; diff --git a/Plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/normal/Magnetic.java b/Plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/normal/Magnetic.java index 1546da14..39ae95d8 100644 --- a/Plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/normal/Magnetic.java +++ b/Plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/normal/Magnetic.java @@ -5,7 +5,7 @@ import com.willfp.ecoenchants.enchantments.EcoEnchant; import com.willfp.ecoenchants.enchantments.EcoEnchantBuilder; import com.willfp.ecoenchants.enchantments.EcoEnchants; import com.willfp.ecoenchants.nms.Target; -import com.willfp.ecoenchants.task.EcoRunnable; +import com.willfp.ecoenchants.enchantments.EcoRunnable; import com.willfp.ecoenchants.util.HasEnchant; import com.willfp.ecoenchants.util.LocationUtils; import org.bukkit.entity.Entity; diff --git a/Plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/special/Repairing.java b/Plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/special/Repairing.java index 2a1d3ef6..fb1d25c2 100644 --- a/Plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/special/Repairing.java +++ b/Plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/special/Repairing.java @@ -5,7 +5,7 @@ import com.willfp.ecoenchants.enchantments.EcoEnchant; import com.willfp.ecoenchants.enchantments.EcoEnchantBuilder; import com.willfp.ecoenchants.enchantments.EcoEnchants; import com.willfp.ecoenchants.nms.Target; -import com.willfp.ecoenchants.task.EcoRunnable; +import com.willfp.ecoenchants.enchantments.EcoRunnable; import com.willfp.ecoenchants.util.HasEnchant; import com.willfp.ecoenchants.util.ItemDurability; import org.bukkit.inventory.ItemStack; diff --git a/Plugin/src/main/java/com/willfp/ecoenchants/loader/Loader.java b/Plugin/src/main/java/com/willfp/ecoenchants/loader/Loader.java index 10d2a1a5..bcebf306 100644 --- a/Plugin/src/main/java/com/willfp/ecoenchants/loader/Loader.java +++ b/Plugin/src/main/java/com/willfp/ecoenchants/loader/Loader.java @@ -33,7 +33,7 @@ import com.willfp.ecoenchants.nms.BlockBreak; import com.willfp.ecoenchants.nms.Cooldown; import com.willfp.ecoenchants.nms.Target; import com.willfp.ecoenchants.nms.TridentStack; -import com.willfp.ecoenchants.task.EcoRunnable; +import com.willfp.ecoenchants.enchantments.EcoRunnable; import com.willfp.ecoenchants.util.UpdateChecker; import org.apache.maven.artifact.versioning.DefaultArtifactVersion; import org.bukkit.Bukkit;