mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Fix builds for paper 1.16.2
This commit is contained in:
parent
48d9044366
commit
87fe1a2a21
@ -60,6 +60,7 @@ import org.bukkit.util.RayTraceResult;
|
||||
import org.bukkit.util.Vector;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
import io.papermc.paper.world.MoonPhase;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.Collection;
|
||||
@ -527,6 +528,16 @@ public class AsyncWorld extends PassthroughExtent implements World {
|
||||
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
|
||||
public long getTime() {
|
||||
return parent.getTime();
|
||||
|
Loading…
Reference in New Issue
Block a user