Merge pull request #581 from libraryaddict/1.16

Fix builds for paper 1.16.2
Dieser Commit ist enthalten in:
NotMyFault 2020-08-25 14:34:26 +02:00 committet von GitHub
Commit 67bbda06fc
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -60,6 +60,7 @@ import org.bukkit.util.RayTraceResult;
import org.bukkit.util.Vector; import org.bukkit.util.Vector;
import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable; import org.jetbrains.annotations.Nullable;
import io.papermc.paper.world.MoonPhase;
import java.io.File; import java.io.File;
import java.util.Collection; import java.util.Collection;
@ -527,6 +528,16 @@ public class AsyncWorld extends PassthroughExtent implements World {
return TaskManager.IMP.sync(() -> parent.setSpawnLocation(x, y, z)); return TaskManager.IMP.sync(() -> parent.setSpawnLocation(x, y, z));
} }
@Override
public boolean setSpawnLocation(final int x, final int y, final int z, final float angle) {
return TaskManager.IMP.sync(() -> parent.setSpawnLocation(x, y, z, angle));
}
@Override
public @NotNull MoonPhase getMoonPhase() {
return parent.getMoonPhase();
}
@Override @Override
public long getTime() { public long getTime() {
return parent.getTime(); return parent.getTime();