mirror of
https://github.com/Minestom/Minestom.git
synced 2024-06-23 04:54:59 +02:00
Dont expose fastutil
Signed-off-by: TheMode <themode@outlook.fr>
This commit is contained in:
parent
6ed55a68c0
commit
2e523350d3
|
@ -2,7 +2,6 @@ package net.minestom.server.timer;
|
|||
|
||||
import it.unimi.dsi.fastutil.ints.Int2ObjectMap;
|
||||
import it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap;
|
||||
import it.unimi.dsi.fastutil.objects.ObjectCollection;
|
||||
import net.minestom.server.MinecraftServer;
|
||||
import net.minestom.server.extensions.Extension;
|
||||
import net.minestom.server.extensions.IExtensionObserver;
|
||||
|
@ -146,8 +145,7 @@ public final class SchedulerManager implements IExtensionObserver {
|
|||
*
|
||||
* @return a {@link Collection} with all the registered {@link Task}
|
||||
*/
|
||||
@NotNull
|
||||
public ObjectCollection<Task> getTasks() {
|
||||
public @NotNull Collection<Task> getTasks() {
|
||||
return tasks.values();
|
||||
}
|
||||
|
||||
|
@ -166,8 +164,7 @@ public final class SchedulerManager implements IExtensionObserver {
|
|||
*
|
||||
* @return a {@link Collection} with all the registered shutdown {@link Task}
|
||||
*/
|
||||
@NotNull
|
||||
public ObjectCollection<Task> getShutdownTasks() {
|
||||
public @NotNull Collection<Task> getShutdownTasks() {
|
||||
return shutdownTasks.values();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user