From 8efbb5a5b1051e21cedde87f98493f41f46eebcd Mon Sep 17 00:00:00 2001 From: Lixfel Date: Fri, 29 Mar 2019 23:44:43 +0100 Subject: [PATCH] UnloadWorld-Bugfix --- src/de/warking/bausystem/world/LagDetectorRunnable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/warking/bausystem/world/LagDetectorRunnable.java b/src/de/warking/bausystem/world/LagDetectorRunnable.java index a60d2e2..4f576dd 100644 --- a/src/de/warking/bausystem/world/LagDetectorRunnable.java +++ b/src/de/warking/bausystem/world/LagDetectorRunnable.java @@ -22,7 +22,7 @@ class LagDetectorRunnable implements Runnable { @Override public void run() { - if (world == null) { + if (world == null || task.isCancelled()) { task.cancel(); return; }