Skip to content

Commit

Permalink
Add is item check for latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
BoomEaro committed Jul 21, 2024
1 parent d5a5482 commit 9b36030
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ public void onExecute(CommandSender sender, String[] args) {
{
List<Material> failed = new ArrayList<>();
for (Material mat : Material.values()) {
if (!mat.isItem()) {
continue;
}

try {
String name = this.defaultTranslateManager.getItemName(new ItemStack(mat, 1), type);
if (name == null) {
Expand Down

0 comments on commit 9b36030

Please sign in to comment.