mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-15 23:26:33 +01:00
FIx for AsyncChunk
This commit is contained in:
parent
e994c765fa
commit
5cc5ce5537
@ -74,7 +74,7 @@ public class AsyncChunk implements Chunk {
|
||||
return whenLoaded(new RunnableVal<ChunkSnapshot>() {
|
||||
@Override
|
||||
public void run(ChunkSnapshot value) {
|
||||
this.value = world.getChunkAt(x, z).getChunkSnapshot(includeBiome, includeBiome, includeBiomeTempRain);
|
||||
this.value = world.getBukkitWorld().getChunkAt(x, z).getChunkSnapshot(includeBiome, includeBiome, includeBiomeTempRain);
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -112,7 +112,7 @@ public class AsyncChunk implements Chunk {
|
||||
return whenLoaded(new RunnableVal<Entity[]>() {
|
||||
@Override
|
||||
public void run(Entity[] value) {
|
||||
world.getChunkAt(x, z).getEntities();
|
||||
world.getBukkitWorld().getChunkAt(x, z).getEntities();
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -125,7 +125,7 @@ public class AsyncChunk implements Chunk {
|
||||
return TaskManager.IMP.sync(new RunnableVal<BlockState[]>() {
|
||||
@Override
|
||||
public void run(BlockState[] value) {
|
||||
this.value = world.getChunkAt(x, z).getTileEntities();
|
||||
this.value = world.getBukkitWorld().getChunkAt(x, z).getTileEntities();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user