Add the possibility to disenchant a class item

This commit is contained in:
2021-12-12 21:50:58 +01:00
parent 3a321fd49b
commit 4b8304934f
5 changed files with 85 additions and 18 deletions

View File

@@ -8,9 +8,13 @@ import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Entity;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import org.bukkit.potion.PotionEffect;
import org.bukkit.potion.PotionEffectType;
import java.util.Arrays;
import java.util.stream.Collectors;
public class CommandClass implements CommandExecutor {
@Override
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {