Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-08 04:20:06 +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.io.File;
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
import java.util.concurrent.CompletableFuture;
|
import java.util.concurrent.CompletableFuture;
|
||||||
@ -1177,6 +1178,31 @@ public class AsyncWorld extends DelegateFaweQueue implements World, HasFaweQueue
|
|||||||
return parent.getForceLoadedChunks();
|
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
|
@Override
|
||||||
public int getHighestBlockYAt(int x, int z, com.destroystokyo.paper.HeightmapType heightmap) throws UnsupportedOperationException {
|
public int getHighestBlockYAt(int x, int z, com.destroystokyo.paper.HeightmapType heightmap) throws UnsupportedOperationException {
|
||||||
return TaskManager.IMP.sync(new Supplier<Integer>() {
|
return TaskManager.IMP.sync(new Supplier<Integer>() {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren