mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Implement new World interface methods
This commit is contained in:
parent
0723620722
commit
b1c11c9597
@ -4,6 +4,7 @@ import com.boydti.fawe.FaweAPI;
|
||||
import com.boydti.fawe.object.RunnableVal;
|
||||
import com.boydti.fawe.util.StringMan;
|
||||
import com.boydti.fawe.util.TaskManager;
|
||||
import com.destroystokyo.paper.HeightmapType;
|
||||
import com.sk89q.worldedit.bukkit.BukkitWorld;
|
||||
import com.sk89q.worldedit.bukkit.WorldEditPlugin;
|
||||
import com.sk89q.worldedit.bukkit.adapter.BukkitImplAdapter;
|
||||
@ -1210,4 +1211,16 @@ public class AsyncWorld extends PassthroughExtent implements World {
|
||||
boolean force) {
|
||||
parent.spawnParticle(particle, location, count, offsetX, offsetY, offsetZ, extra, data, force);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getHighestBlockYAt(@NotNull Location location, @NotNull HeightmapType heightmap)
|
||||
throws UnsupportedOperationException {
|
||||
return parent.getHighestBlockYAt(location, heightmap);
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull Block getHighestBlockAt(int x, int z, @NotNull HeightmapType heightmap)
|
||||
throws UnsupportedOperationException {
|
||||
return parent.getHighestBlockAt(x, z, heightmap);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user