diff --git a/src/main/java/io/github/dre2n/dungeonsxl/sign/RedstoneSign.java b/src/main/java/io/github/dre2n/dungeonsxl/sign/RedstoneSign.java index 721b03c9..cae8e769 100644 --- a/src/main/java/io/github/dre2n/dungeonsxl/sign/RedstoneSign.java +++ b/src/main/java/io/github/dre2n/dungeonsxl/sign/RedstoneSign.java @@ -250,8 +250,12 @@ public class RedstoneSign extends DSign { unpower(); - enableTask.cancel(); - disableTask.cancel(); + if (enableTask != null) { + enableTask.cancel(); + } + if (disableTask != null) { + disableTask.cancel(); + } active = false; }