*fix bad refactor

This commit is contained in:
Jesse Boyd 2016-05-23 06:40:19 +10:00
parent e8d76e3f3a
commit 676a3d75ed
2 changed files with 2 additions and 2 deletions

View File

@ -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();
}
}

View File

@ -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