mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-28 13:36:33 +01:00
Fix NPE in RedstoneSign
This commit is contained in:
parent
6c6c9c4b59
commit
1b6ed7432a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user