removed old enchantments
Build / build (push) Failing after 11s

This commit is contained in:
Laura
2026-08-09 17:49:44 +02:00
parent b8f7766a99
commit ef9c412d58
2 changed files with 0 additions and 15 deletions
@@ -178,19 +178,6 @@ public class SpigotItem {
return this;
}
public SpigotItem setGlowing() {
this.itemStack.addUnsafeEnchantment(Enchantment.LUCK, 1);
ItemMeta meta = this.itemStack.getItemMeta();
meta.addItemFlags(ItemFlag.HIDE_ENCHANTS);
this.itemStack.setItemMeta(meta);
return this;
}
public SpigotItem unGlowing() {
this.itemStack.removeEnchantment(Enchantment.LUCK);
return this;
}
public SpigotItem setArmorColor(@Nonnull Color color) {
LeatherArmorMeta leatherArmorMeta = (LeatherArmorMeta) this.itemStack.getItemMeta();
leatherArmorMeta.setColor(color);
@@ -8,8 +8,6 @@ import java.util.function.Consumer;
import javax.annotation.Nonnull;
import com.softwarerat.GameAPI;
import org.bukkit.Bukkit;
import org.bukkit.Material;
import org.bukkit.entity.HumanEntity;