Removed deprecated item durability and art ID method usage

This commit is contained in:
Intelli 2022-03-08 08:42:06 -07:00
parent 40ee11f644
commit dad51fc900
4 changed files with 4 additions and 13 deletions

View file

@ -19,7 +19,6 @@ import java.util.Set;
import java.util.SortedSet;
import java.util.TreeSet;
import org.bukkit.Art;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.Material;
@ -628,10 +627,6 @@ public class Util extends Queue {
return false;
}
public static int getArtId(Art art) {
return art.getId();
}
public static int getArtId(String name, boolean internal) {
int id = -1;
name = name.toLowerCase(Locale.ROOT).trim();
@ -1175,10 +1170,6 @@ public class Util extends Queue {
return new ItemStack(type, amount);
}
public static ItemStack newItemStack(Material type, int amount, short data) {
return new ItemStack(type, amount, data);
}
public static boolean isSpigot() {
try {
Class.forName("org.spigotmc.SpigotConfig");