mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-12-01 07:03:52 +01:00
*fix bad refactor
This commit is contained in:
parent
e8d76e3f3a
commit
676a3d75ed
@ -13,7 +13,7 @@ public class SpongeChunk_1_8 extends CharFaweChunk<net.minecraft.world.chunk.Chu
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public net.minecraft.world.chunk.Chunk getNewChunk() {
|
public net.minecraft.world.chunk.Chunk getNewChunk() {
|
||||||
World world = Sponge.getServer().getWorld(getParent().getWorld()).get();
|
World world = Sponge.getServer().getWorld(getParent().getWorldName()).get();
|
||||||
return (net.minecraft.world.chunk.Chunk) world.loadChunk(getX(), 0, getZ(), true).get();
|
return (net.minecraft.world.chunk.Chunk) world.loadChunk(getX(), 0, getZ(), true).get();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -179,7 +179,7 @@ public class SpongeQueue_ALL extends NMSMappedFaweQueue<World, net.minecraft.wor
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public World getWorld(String world) {
|
public World getWorld(String world) {
|
||||||
return Sponge.getServer().getWorld(super.getWorld()).get();
|
return Sponge.getServer().getWorld(super.getWorldName()).get();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user