Removed skulk artifact

This commit is contained in:
Auxilor 2021-06-19 20:34:57 +01:00
parent a3e10e6805
commit a37ae00b74
3 changed files with 2 additions and 24 deletions

View File

@ -30,7 +30,6 @@ import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.MusicArtifact;
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.NautilusArtifact;
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.NetherArtifact;
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.RedstoneArtifact;
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.SkulkArtifact;
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.SmokeArtifact;
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.SnowArtifact;
import com.willfp.ecoenchants.enchantments.ecoenchants.artifact.SoulArtifact;
@ -502,7 +501,6 @@ public class EcoEnchants {
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 SKULK_ARTIFACT = new SkulkArtifact();
public static final EcoEnchant SPARK_ARTIFACT = new SparkArtifact();
public static final EcoEnchant SPORE_ARTIFACT = new SporeArtifact();
public static final EcoEnchant WAX_ARTIFACT = new WaxArtifact();

View File

@ -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 SkulkArtifact extends Artifact {
public SkulkArtifact() {
super(
"skulk_artifact",
Prerequisite.v1_17
);
}
@Override
public @NotNull Particle getParticle() {
return Particle.VIBRATION;
}
}

View File

@ -35,7 +35,7 @@ public abstract class Artifact extends EcoEnchant {
* Used for redstone particles.
*/
@Nullable
private Particle.DustOptions extra;
private Object extra;
/**
* Create a new artifact enchantment.
@ -70,7 +70,7 @@ public abstract class Artifact extends EcoEnchant {
* @return The dust options.
*/
@Nullable
public Particle.DustOptions getDustOptions() {
public Object getDustOptions() {
return null;
}