diff --git a/src/engine/loot/WorkOrder.java b/src/engine/loot/WorkOrder.java index d301df3d..0eee7b81 100644 --- a/src/engine/loot/WorkOrder.java +++ b/src/engine/loot/WorkOrder.java @@ -28,6 +28,7 @@ public class WorkOrder implements Delayed { public int slots_used; public int total_to_produce; public int total_produced; + public int msg_size; public HashMap production_cost = new HashMap<>(); public HashMap production_cost_total = new HashMap<>(); public int templateID; diff --git a/src/engine/net/client/handlers/ItemProductionMsgHandler.java b/src/engine/net/client/handlers/ItemProductionMsgHandler.java index 67cbf5b7..16df9139 100644 --- a/src/engine/net/client/handlers/ItemProductionMsgHandler.java +++ b/src/engine/net/client/handlers/ItemProductionMsgHandler.java @@ -87,6 +87,7 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler { workOrder.suffixToken = msg.sToken; workOrder.item_name_override = msg.name; workOrder.slots_used = 0; + workOrder.msg_size = msg.size; // Validate vendor can roll this item