diff options
Diffstat (limited to 'src/main')
| -rw-r--r-- | src/main/java/world/anhgelus/molehunt/Game.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/world/anhgelus/molehunt/Game.java b/src/main/java/world/anhgelus/molehunt/Game.java index 7670805..b8d7136 100644 --- a/src/main/java/world/anhgelus/molehunt/Game.java +++ b/src/main/java/world/anhgelus/molehunt/Game.java @@ -135,8 +135,7 @@ public class Game { timer.cancel();
timer = new Timer();
- borderTimeOffsetTimer.cancel();
- borderTimeOffsetTimer = new Timer();
+ borderTimeOffsetTask.cancel();
final var worldBorder = server.getOverworld().getWorldBorder();
// Stops the border shrinking.
|
