From 46bf67672a13c81d6b5cefb8241e12b46c354e7d Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 7 Apr 2024 22:18:12 -0400 Subject: [PATCH] workorder fields assigned --- .../net/client/handlers/ItemProductionMsgHandler.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/engine/net/client/handlers/ItemProductionMsgHandler.java b/src/engine/net/client/handlers/ItemProductionMsgHandler.java index 8e2731ab..9e5730e0 100644 --- a/src/engine/net/client/handlers/ItemProductionMsgHandler.java +++ b/src/engine/net/client/handlers/ItemProductionMsgHandler.java @@ -79,6 +79,12 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler { // Create new work order WorkOrder workOrder = new WorkOrder(); + workOrder.itemCount = msg.total_to_produce; + workOrder.vendor = vendorNPC; + workOrder.templateID = msg.templateID; + workOrder.prefixToken = msg.pToken; + workOrder.suffixToken = msg.sToken; + workOrder.itemName = msg.name; //Create Multiple Item Function.. Fill all empty slots