Skip to content

Commit

Permalink
Fix issue when WALL_TORCH and WALL_SING was without icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
BONNe committed Jan 20, 2019
1 parent 2464667 commit 7e3876f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public static ItemStack getMaterialItem(Material material, int amount)
ItemStack itemStack;

// Process items that cannot be item-stacks.
if (material.name().contains("_WALL"))
if (material.name().contains("WALL_"))
{
// Materials that is attached to wall cannot be showed in GUI. But they should be in list.
itemStack = new ItemStack(Material.getMaterial(material.name().replace("WALL_", "")));
Expand Down

0 comments on commit 7e3876f

Please sign in to comment.