Fix a bug with armor being referenced on the hotbar.
This commit is contained in:
parent
d25b99439f
commit
d17fadffe0
Binary file not shown.
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user