mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-22 08:11:59 +01:00
SPIGOT-4498: Crash on startup
This commit is contained in:
parent
b4ee04baae
commit
8cd538e661
@ -105,7 +105,7 @@ class CraftTask implements BukkitTask, Runnable {
|
||||
}
|
||||
|
||||
Class<?> getTaskClass() {
|
||||
return (rTask != null) ? rTask.getClass() : cTask.getClass();
|
||||
return (rTask != null) ? rTask.getClass() : ((cTask != null) ? cTask.getClass() : null);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user