Browse Source

convention is == false

combat-2
MagicBot 6 months ago
parent
commit
b592f050c2
  1. 4
      src/engine/gameManager/ForgeManager.java

4
src/engine/gameManager/ForgeManager.java

@ -159,7 +159,7 @@ public enum ForgeManager implements Runnable { @@ -159,7 +159,7 @@ public enum ForgeManager implements Runnable {
// Single item configuration
if (!workOrder.multiple_slot_request && workOrder.total_to_produce == 0)
if (workOrder.multiple_slot_request == false && workOrder.total_to_produce == 0)
workOrder.total_to_produce = 1;
// Set total cost for production run
@ -230,7 +230,7 @@ public enum ForgeManager implements Runnable { @@ -230,7 +230,7 @@ public enum ForgeManager implements Runnable {
// Single item rolls are always a single slot
if (availableSlots > 0 && !workOrder.multiple_slot_request)
if (availableSlots > 0 && workOrder.multiple_slot_request == false)
availableSlots = 1;
return availableSlots;

Loading…
Cancel
Save