From ce98f80b85ea8638309e9b36ec8ae27e7a73a860 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 12 May 2024 11:22:12 -0400 Subject: [PATCH] recalc magic value --- src/engine/net/client/handlers/ItemProductionMsgHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/net/client/handlers/ItemProductionMsgHandler.java b/src/engine/net/client/handlers/ItemProductionMsgHandler.java index 6b5c2980..f028efc3 100644 --- a/src/engine/net/client/handlers/ItemProductionMsgHandler.java +++ b/src/engine/net/client/handlers/ItemProductionMsgHandler.java @@ -210,7 +210,7 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler { } targetItem.setValue(itemPrice); - targetItem.magicValue = targetItem.value + targetItem.calcMagicValue(); + targetItem.magicValue = targetItem.value; outMsg = new ItemProductionMsg(vendor.getBuilding(), vendor, targetItem, mbEnums.ProductionActionType.DEPOSIT, true); dispatch = Dispatch.borrow(player, outMsg);