Browse Source

Minor class cleanup

combat-2
MagicBot 9 months ago
parent
commit
69416528b3
  1. 2
      src/engine/gameManager/ForgeManager.java
  2. 2
      src/engine/net/client/handlers/ItemProductionMsgHandler.java

2
src/engine/gameManager/ForgeManager.java

@ -121,7 +121,7 @@ public enum ForgeManager implements Runnable { @@ -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();

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

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

Loading…
Cancel
Save