Fix typo getItemTyp

This commit is contained in:
DerFrZocker 2023-05-19 19:59:13 +02:00
parent 9cedb6644c
commit a995df2a25
No known key found for this signature in database
GPG key ID: 713F71FFFE1DDF91
2 changed files with 2 additions and 2 deletions

View file

@ -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();

View file

@ -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")) {