diff --git a/src/engine/devcmd/cmds/InfoCmd.java b/src/engine/devcmd/cmds/InfoCmd.java index 4a26ad0d..8fd516a6 100644 --- a/src/engine/devcmd/cmds/InfoCmd.java +++ b/src/engine/devcmd/cmds/InfoCmd.java @@ -525,7 +525,7 @@ public class InfoCmd extends AbstractDevCmd { ConcurrentHashMap effects = item.getEffects(); for (String name : effects.keySet()) { Effect eff = effects.get(name); - output += eff.getEffectsBase().getIDString(); + output += eff.getEffectsBase().getIDString() + " Duration:" + eff.getDuration(); output += newline; // output += eff.getEffectToken() + (eff.bakedInStat() ? " (baked in)" : "") + newline; } diff --git a/src/engine/objects/CharacterItemManager.java b/src/engine/objects/CharacterItemManager.java index 2759ce10..6d74bcd1 100644 --- a/src/engine/objects/CharacterItemManager.java +++ b/src/engine/objects/CharacterItemManager.java @@ -640,6 +640,7 @@ public class CharacterItemManager { dispatch = Dispatch.borrow(other, utwm); DispatchMessage.dispatchMsgDispatch(dispatch, Enum.DispatchChannel.PRIMARY); stripTempEnchants(i); + this.updateInventory(); return true; } @@ -1056,6 +1057,7 @@ public class CharacterItemManager { calculateWeights(); stripTempEnchants(i); + this.updateInventory(); return true; } @@ -1201,6 +1203,7 @@ public class CharacterItemManager { calculateWeights(); stripTempEnchants(i); + this.updateInventory(); return true; } @@ -2456,6 +2459,7 @@ public class CharacterItemManager { calculateWeights(); stripTempEnchants(i); + this.updateInventory(); return true; }