Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-24 18:10:08 +01:00
Update AsyncWorld.java
Dieser Commit ist enthalten in:
Ursprung
505af853bd
Commit
7a42bd208f
@ -17,6 +17,7 @@ import com.sk89q.worldedit.world.biome.BiomeType;
|
||||
import java.io.File;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.UUID;
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
@ -1177,6 +1178,31 @@ public class AsyncWorld extends DelegateFaweQueue implements World, HasFaweQueue
|
||||
return parent.getForceLoadedChunks();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean addPluginChunkTicket(int x, int z, @NotNull Plugin plugin) {
|
||||
return getBukkitWorld().addPluginChunkTicket(x, z, plugin);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean removePluginChunkTicket(int x, int z, @NotNull Plugin plugin) {
|
||||
return getBukkitWorld().removePluginChunkTicket(x, z, plugin);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removePluginChunkTickets(@NotNull Plugin plugin) {
|
||||
getBukkitWorld().removePluginChunkTickets(plugin);
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull Collection<Plugin> getPluginChunkTickets(int x, int z) {
|
||||
return getBukkitWorld().getPluginChunkTickets(x, z);
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull Map<Plugin, Collection<Chunk>> getPluginChunkTickets() {
|
||||
return getBukkitWorld().getPluginChunkTickets();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getHighestBlockYAt(int x, int z, com.destroystokyo.paper.HeightmapType heightmap) throws UnsupportedOperationException {
|
||||
return TaskManager.IMP.sync(new Supplier<Integer>() {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren