/* * Decompiled with CFR 0.152. */ package net.minecraft.server.jsonrpc.internalapi; import java.util.concurrent.CompletableFuture; import java.util.function.Supplier; import net.minecraft.server.dedicated.DedicatedServer; import net.minecraft.server.jsonrpc.internalapi.MinecraftExecutorService; public class MinecraftExecutorServiceImpl implements MinecraftExecutorService { private final DedicatedServer server; public MinecraftExecutorServiceImpl(DedicatedServer server) { this.server = server; } @Override public CompletableFuture submit(Supplier supplier) { return this.server.submit(supplier); } @Override public CompletableFuture submit(Runnable runnable) { return this.server.submit(runnable); } }