mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-28 13:45:36 +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
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
@ -179,7 +179,7 @@ public class SpongeQueue_ALL extends NMSMappedFaweQueue<World, net.minecraft.wor
|
||||
|
||||
@Override
|
||||
public World getWorld(String world) {
|
||||
return Sponge.getServer().getWorld(super.getWorld()).get();
|
||||
return Sponge.getServer().getWorld(super.getWorldName()).get();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user