Fix issue when WALL_TORCH and WALL_SING was without icon.

This commit is contained in:
BONNe 2019-01-20 19:28:32 +02:00
parent 24646678bf
commit 7e3876f391
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ public class GuiUtils
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_", "")));