mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-12 18:54:01 +00:00
Update AsyncWorld.java
This commit is contained in:
parent
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>() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user