mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-09 20:31:28 +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();
|
unpower();
|
||||||
|
|
||||||
enableTask.cancel();
|
if (enableTask != null) {
|
||||||
disableTask.cancel();
|
enableTask.cancel();
|
||||||
|
}
|
||||||
|
if (disableTask != null) {
|
||||||
|
disableTask.cancel();
|
||||||
|
}
|
||||||
|
|
||||||
active = false;
|
active = false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user