mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 10:17:38 +01:00
SPIGOT-4498: Crash on startup
By: md_5 <git@md-5.net>
This commit is contained in:
parent
273056bd1a
commit
9e6d9e593e
@ -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