Merge branch '16stack' of https://github.com/tambry/BuildCraft into tambry-16stack
This commit is contained in:
commit
250db91750
2 changed files with 8 additions and 4 deletions
|
@ -28,12 +28,14 @@ public class ItemBlueprintStandard extends ItemBlueprint {
|
|||
@Override
|
||||
public IIcon getIconIndex(ItemStack stack) {
|
||||
if (!NBTUtils.getItemData(stack).hasKey("name")) {
|
||||
setMaxStackSize(16);
|
||||
itemIcon = cleanBlueprint;
|
||||
return itemIcon;
|
||||
} else {
|
||||
setMaxStackSize(1);
|
||||
itemIcon = usedBlueprint;
|
||||
return itemIcon;
|
||||
}
|
||||
|
||||
return itemIcon;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -28,12 +28,14 @@ public class ItemBlueprintTemplate extends ItemBlueprint {
|
|||
@Override
|
||||
public IIcon getIconIndex(ItemStack stack) {
|
||||
if (!NBTUtils.getItemData(stack).hasKey("name")) {
|
||||
setMaxStackSize(16);
|
||||
itemIcon = cleanTemplate;
|
||||
return itemIcon;
|
||||
} else {
|
||||
setMaxStackSize(1);
|
||||
itemIcon = usedTemplate;
|
||||
return itemIcon;
|
||||
}
|
||||
|
||||
return itemIcon;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue