Removed deprecated item durability and art ID method usage
This commit is contained in:
parent
40ee11f644
commit
dad51fc900
4 changed files with 4 additions and 13 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue