From 060f140d14b51af153228abd5db73d3eff7d954b Mon Sep 17 00:00:00 2001 From: Auxilor Date: Tue, 30 Nov 2021 19:33:26 +0000 Subject: [PATCH] Removed Light Artifact due to 1.18 incompatibility --- .../ecoenchants/enchantments/EcoEnchants.java | 2 -- .../ecoenchants/artifact/LightArtifact.java | 20 ------------------- 2 files changed, 22 deletions(-) delete mode 100644 eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/artifact/LightArtifact.java diff --git a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/EcoEnchants.java b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/EcoEnchants.java index 5f495f61..edc3c718 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/EcoEnchants.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/EcoEnchants.java @@ -22,7 +22,6 @@ import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.HeartArtifact; import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.HoneyArtifact; import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.InkArtifact; import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.LavaArtifact; -import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.LightArtifact; import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.LimeArtifact; import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.MagicArtifact; import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.MagmaArtifact; @@ -497,7 +496,6 @@ public class EcoEnchants { public static final EcoEnchant REBOUNDING = new Rebounding(); public static final EcoEnchant COPPER_ARTIFACT = new CopperArtifact(); public static final EcoEnchant GLOW_ARTIFACT = new GlowArtifact(); - public static final EcoEnchant LIGHT_ARTIFACT = new LightArtifact(); public static final EcoEnchant SPARK_ARTIFACT = new SparkArtifact(); public static final EcoEnchant SPORE_ARTIFACT = new SporeArtifact(); public static final EcoEnchant WAX_ARTIFACT = new WaxArtifact(); diff --git a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/artifact/LightArtifact.java b/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/artifact/LightArtifact.java deleted file mode 100644 index be7b326b..00000000 --- a/eco-core/core-plugin/src/main/java/com/willfp/ecoenchants/enchantments/ecoenchants/artifact/LightArtifact.java +++ /dev/null @@ -1,20 +0,0 @@ -package com.willfp.ecoenchants.enchantments.ecoenchants.artifact; - -import com.willfp.eco.core.Prerequisite; -import com.willfp.ecoenchants.enchantments.itemtypes.Artifact; -import org.bukkit.Particle; -import org.jetbrains.annotations.NotNull; - -public class LightArtifact extends Artifact { - public LightArtifact() { - super( - "light_artifact", - Prerequisite.HAS_1_17 - ); - } - - @Override - public @NotNull Particle getParticle() { - return Particle.LIGHT; - } -}