mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 23:10:16 +01:00
SPIGOT-4498: Crash on startup
This commit is contained in:
parent
b4ee04baae
commit
8cd538e661
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ class CraftTask implements BukkitTask, Runnable {
|
||||||
}
|
}
|
||||||
|
|
||||||
Class<?> getTaskClass() {
|
Class<?> getTaskClass() {
|
||||||
return (rTask != null) ? rTask.getClass() : cTask.getClass();
|
return (rTask != null) ? rTask.getClass() : ((cTask != null) ? cTask.getClass() : null);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue