forked from MagicBane/Server
Moved declaration outside of loop
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user