Browse Source

Debug string added

combat-2
MagicBot 7 months ago
parent
commit
781053ab22
  1. 3
      src/engine/gameManager/ForgeManager.java

3
src/engine/gameManager/ForgeManager.java

@ -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) {

Loading…
Cancel
Save