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