Ignore blank inscription tools
This commit is contained in:
parent
64336f6f78
commit
37c8012741
2 changed files with 4 additions and 0 deletions
|
@ -42,6 +42,9 @@ public class ItemInscriptionTool extends ItemEnum.Variant<EnumRuneType> implemen
|
|||
return;
|
||||
|
||||
for (EnumRuneType runeType : types) {
|
||||
if (runeType == EnumRuneType.BLANK)
|
||||
continue;
|
||||
|
||||
ItemStack stack = new ItemStack(this, 1, runeType.ordinal());
|
||||
NBTTagCompound tag = new NBTTagCompound();
|
||||
tag.setInteger(Constants.NBT.USES, 10);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue