fixed icon setting
This commit is contained in:
parent
b268433b4c
commit
411ec984f0
1 changed files with 4 additions and 2 deletions
|
@ -84,10 +84,12 @@ public class ItemConstructionMarker extends ItemBlock {
|
|||
NBTTagCompound nbt = NBTUtils.getItemData(marker);
|
||||
|
||||
if (nbt.hasKey("x")) {
|
||||
return iconRecording;
|
||||
itemIcon = iconRecording;
|
||||
} else {
|
||||
return iconBase;
|
||||
itemIcon = iconBase;
|
||||
}
|
||||
|
||||
return itemIcon;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue