Browse Source

Moved declaration outside of loop

combat-2
MagicBot 9 months ago
parent
commit
139998eaa1
  1. 4
      src/engine/gameManager/ForgeManager.java

4
src/engine/gameManager/ForgeManager.java

@ -39,10 +39,10 @@ public enum ForgeManager implements Runnable { @@ -39,10 +39,10 @@ public enum ForgeManager implements Runnable {
public void run() {
while (true) {
WorkOrder workOrder = null;
while (true) {
try {
workOrder = forge.take();
} catch (Exception e) {

Loading…
Cancel
Save