Immersive Engineering

Immersive Engineering

134M Downloads

suggestion: anvil repair for heavy plated shield

kuroyure opened this issue ยท 1 comments

commented

it would appear they are not currently repairable in an anvil, welp, lets fix that

commented

They should be repairable by a Steel Ingot, but the method is using an old tag name:

@Override
public boolean getIsRepairable(ItemStack stack, ItemStack material)
{
return Utils.isInTag(material, new ResourceLocation(ImmersiveEngineering.MODID, "ingot_steel"));
}

If you create the immersiveengineering:ingot_steel tag, it should work then. As an aside it would probably better to use tag wrappers/optional tags instead of this method, to avoid the lookup each time.