forked from MagicBane/Server
convention is == false
This commit is contained in:
@@ -159,7 +159,7 @@ public enum ForgeManager implements Runnable {
|
|||||||
|
|
||||||
// Single item configuration
|
// 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;
|
workOrder.total_to_produce = 1;
|
||||||
|
|
||||||
// Set total cost for production run
|
// Set total cost for production run
|
||||||
@@ -230,7 +230,7 @@ public enum ForgeManager implements Runnable {
|
|||||||
|
|
||||||
// Single item rolls are always a single slot
|
// 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;
|
availableSlots = 1;
|
||||||
|
|
||||||
return availableSlots;
|
return availableSlots;
|
||||||
|
|||||||
Reference in New Issue
Block a user