Also some blueprint and template cleanup
This commit is contained in:
parent
6aaf47b7f9
commit
38f74d42f0
2 changed files with 4 additions and 4 deletions
|
@ -30,12 +30,12 @@ public class ItemBlueprintStandard extends ItemBlueprint {
|
||||||
if (!NBTUtils.getItemData(stack).hasKey("name")) {
|
if (!NBTUtils.getItemData(stack).hasKey("name")) {
|
||||||
setMaxStackSize(16);
|
setMaxStackSize(16);
|
||||||
itemIcon = cleanBlueprint;
|
itemIcon = cleanBlueprint;
|
||||||
return itemIcon;
|
|
||||||
} else {
|
} else {
|
||||||
setMaxStackSize(1);
|
setMaxStackSize(1);
|
||||||
itemIcon = usedBlueprint;
|
itemIcon = usedBlueprint;
|
||||||
return itemIcon;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return itemIcon;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -30,12 +30,12 @@ public class ItemBlueprintTemplate extends ItemBlueprint {
|
||||||
if (!NBTUtils.getItemData(stack).hasKey("name")) {
|
if (!NBTUtils.getItemData(stack).hasKey("name")) {
|
||||||
setMaxStackSize(16);
|
setMaxStackSize(16);
|
||||||
itemIcon = cleanTemplate;
|
itemIcon = cleanTemplate;
|
||||||
return itemIcon;
|
|
||||||
} else {
|
} else {
|
||||||
setMaxStackSize(1);
|
setMaxStackSize(1);
|
||||||
itemIcon = usedTemplate;
|
itemIcon = usedTemplate;
|
||||||
return itemIcon;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return itemIcon;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Reference in a new issue