Browse Source

Moved declaration outside of loop

combat-2
MagicBot 7 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 {
public void run() { public void run() {
while (true) {
WorkOrder workOrder = null; WorkOrder workOrder = null;
while (true) {
try { try {
workOrder = forge.take(); workOrder = forge.take();
} catch (Exception e) { } catch (Exception e) {

Loading…
Cancel
Save