Also some blueprint and template cleanup

This commit is contained in:
Raul Tambre 2014-05-05 15:11:45 +03:00
parent 6aaf47b7f9
commit 38f74d42f0
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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