mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-09-18 21:45:12 +00:00
Fix typo getItemTyp
This commit is contained in:
parent
9cedb6644c
commit
a995df2a25
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ public interface UnsafeValues {
|
|||
|
||||
BlockData fromLegacy(Material material, byte data);
|
||||
|
||||
ItemType getItemTyp(String itemType, int version);
|
||||
ItemType getItemType(String itemType, int version);
|
||||
|
||||
int getDataVersion();
|
||||
|
||||
|
|
|
@ -520,7 +520,7 @@ public class ItemStack implements Cloneable, ConfigurationSerializable, Translat
|
|||
damage = 0;
|
||||
}
|
||||
} else {
|
||||
itemType = Bukkit.getUnsafe().getItemTyp((String) args.get("type"), version);
|
||||
itemType = Bukkit.getUnsafe().getItemType((String) args.get("type"), version);
|
||||
}
|
||||
|
||||
if (args.containsKey("amount")) {
|
||||
|
|
Loading…
Add table
Reference in a new issue