diff --git a/TwosideKeeper.jar b/TwosideKeeper.jar index c00671b..5475868 100644 Binary files a/TwosideKeeper.jar and b/TwosideKeeper.jar differ diff --git a/src/sig/plugin/TwosideKeeper/HelperStructures/Common/GenericFunctions.java b/src/sig/plugin/TwosideKeeper/HelperStructures/Common/GenericFunctions.java index 183a180..0af0049 100644 --- a/src/sig/plugin/TwosideKeeper/HelperStructures/Common/GenericFunctions.java +++ b/src/sig/plugin/TwosideKeeper/HelperStructures/Common/GenericFunctions.java @@ -2163,7 +2163,7 @@ public class GenericFunctions { equip.setDurability((short)0); TwosideKeeper.log("Repaired "+equip.toString()+" to full durability.", 5); } else { - p.getInventory().getItem(i).setDurability((short)(equip.getDurability()-repairamt)); + contents[i].setDurability((short)(equip.getDurability()-repairamt)); TwosideKeeper.log("Repaired "+repairamt+" durability to "+equip.toString()+"", 5); } }