mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-14 01:04:16 +00:00
Add copying of runic hardening when crafting revealing helm
This commit is contained in:
1 parent
ef530ade3b
commit
6f2973b9ba
1 file changed
+4
@@ -78,6 +78,10 @@ public class HelmRevealingRecipe implements IRecipe {
|
||||
if(enchList != null)
|
||||
ItemNBTHelper.setList(newHelm, "ench", enchList);
|
||||
|
||||
//Copy Runic Hardening
|
||||
byte runicHardening = ItemNBTHelper.getByte(helmCopy, "RS.HARDEN", (byte)0);
|
||||
ItemNBTHelper.setByte(newHelm, "RS.HARDEN", runicHardening);
|
||||
|
||||
return newHelm;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user