From 69416528b3ae1362cf798d01789bb2852265d82f Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 8 Apr 2024 17:40:38 -0400 Subject: [PATCH] Minor class cleanup --- src/engine/gameManager/ForgeManager.java | 2 +- src/engine/net/client/handlers/ItemProductionMsgHandler.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/gameManager/ForgeManager.java b/src/engine/gameManager/ForgeManager.java index 1682e9d5..313eb0d7 100644 --- a/src/engine/gameManager/ForgeManager.java +++ b/src/engine/gameManager/ForgeManager.java @@ -121,7 +121,7 @@ public enum ForgeManager implements Runnable { return rollingDuration; } - public static int getAvailableSlots(WorkOrder workOrder) { + public static int calcAvailableSlots(WorkOrder workOrder) { int availableSlots = workOrder.vendor.getRank(); diff --git a/src/engine/net/client/handlers/ItemProductionMsgHandler.java b/src/engine/net/client/handlers/ItemProductionMsgHandler.java index c8a62ece..f07ecb0b 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.itemName = msg.name; workOrder.rollingDuration = ForgeManager.calcRollingDuration(workOrder); - workOrder.slotCount = ForgeManager.getAvailableSlots(workOrder); + workOrder.slotCount = ForgeManager.calcAvailableSlots(workOrder); // Validate vendor can roll this item