Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 02:20:07 +01:00
Implement new World interface methods
Dieser Commit ist enthalten in:
Ursprung
0723620722
Commit
b1c11c9597
@ -4,6 +4,7 @@ import com.boydti.fawe.FaweAPI;
|
|||||||
import com.boydti.fawe.object.RunnableVal;
|
import com.boydti.fawe.object.RunnableVal;
|
||||||
import com.boydti.fawe.util.StringMan;
|
import com.boydti.fawe.util.StringMan;
|
||||||
import com.boydti.fawe.util.TaskManager;
|
import com.boydti.fawe.util.TaskManager;
|
||||||
|
import com.destroystokyo.paper.HeightmapType;
|
||||||
import com.sk89q.worldedit.bukkit.BukkitWorld;
|
import com.sk89q.worldedit.bukkit.BukkitWorld;
|
||||||
import com.sk89q.worldedit.bukkit.WorldEditPlugin;
|
import com.sk89q.worldedit.bukkit.WorldEditPlugin;
|
||||||
import com.sk89q.worldedit.bukkit.adapter.BukkitImplAdapter;
|
import com.sk89q.worldedit.bukkit.adapter.BukkitImplAdapter;
|
||||||
@ -1210,4 +1211,16 @@ public class AsyncWorld extends PassthroughExtent implements World {
|
|||||||
boolean force) {
|
boolean force) {
|
||||||
parent.spawnParticle(particle, location, count, offsetX, offsetY, offsetZ, extra, data, 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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren