diff --git a/src/engine/gameManager/ForgeManager.java b/src/engine/gameManager/ForgeManager.java index db618591..9d24140b 100644 --- a/src/engine/gameManager/ForgeManager.java +++ b/src/engine/gameManager/ForgeManager.java @@ -175,7 +175,7 @@ public enum ForgeManager implements Runnable { // Single item rolls are msg_size of 0; - if (workOrder.slots_used > 0 && workOrder.msg_size == 0) + if (workOrder.slots_used > 0 && workOrder.multiple_slot_request == 0) availableSlots = 1; return availableSlots; diff --git a/src/engine/loot/WorkOrder.java b/src/engine/loot/WorkOrder.java index 0eee7b81..adb0de6c 100644 --- a/src/engine/loot/WorkOrder.java +++ b/src/engine/loot/WorkOrder.java @@ -28,7 +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 int multiple_slot_request; 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 832ca23e..0a4b8abd 100644 --- a/src/engine/net/client/handlers/ItemProductionMsgHandler.java +++ b/src/engine/net/client/handlers/ItemProductionMsgHandler.java @@ -87,7 +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; + workOrder.multiple_slot_request = msg.size; // Validate vendor can roll this item