Browse Source

workorder fields assigned

combat-2
MagicBot 7 months ago
parent
commit
46bf67672a
  1. 6
      src/engine/net/client/handlers/ItemProductionMsgHandler.java

6
src/engine/net/client/handlers/ItemProductionMsgHandler.java

@ -79,6 +79,12 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler { @@ -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

Loading…
Cancel
Save