|
|
@ -10,6 +10,7 @@ package engine.gameManager; |
|
|
|
|
|
|
|
|
|
|
|
import engine.loot.WorkOrder; |
|
|
|
import engine.loot.WorkOrder; |
|
|
|
import engine.objects.PlayerCharacter; |
|
|
|
import engine.objects.PlayerCharacter; |
|
|
|
|
|
|
|
import org.pmw.tinylog.Logger; |
|
|
|
|
|
|
|
|
|
|
|
import java.util.concurrent.BlockingQueue; |
|
|
|
import java.util.concurrent.BlockingQueue; |
|
|
|
import java.util.concurrent.DelayQueue; |
|
|
|
import java.util.concurrent.DelayQueue; |
|
|
@ -42,7 +43,7 @@ public enum ForgeManager implements Runnable { |
|
|
|
// otherwise roll what was asked for
|
|
|
|
// otherwise roll what was asked for
|
|
|
|
|
|
|
|
|
|
|
|
workOrder.itemCount = workOrder.itemCount - 1; |
|
|
|
workOrder.itemCount = workOrder.itemCount - 1; |
|
|
|
|
|
|
|
Logger.info("Workorder popped: " + workOrder.workOrderID); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (workOrder.itemCount == 0) { |
|
|
|
if (workOrder.itemCount == 0) { |
|
|
|