mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 11:19:19 +00:00
Fix typo in fallback equipment handler, closes #3360
This commit is contained in:
1 parent
f878ee11d7
commit
3940f38be1
1 file changed
+1
-1
@@ -105,7 +105,7 @@ public abstract class EquipmentHandler {
|
||||
((ItemBauble) old.getItem()).onUnequipped(old, player);
|
||||
}
|
||||
if (canEquip(current, player)) {
|
||||
player.getAttributeManager().func_233793_b_(((ItemBauble) old.getItem()).getEquippedAttributeModifiers(old));
|
||||
player.getAttributeManager().func_233793_b_(((ItemBauble) current.getItem()).getEquippedAttributeModifiers(current));
|
||||
((ItemBauble) current.getItem()).onEquipped(current, player);
|
||||
}
|
||||
oldStacks[i] = current.copy(); // shift-clicking mutates the stack we stored,
|
||||
|
||||
Reference in new issue
Block a user