diff options
author | EvilSeph <evilseph@gmail.com> | 2012-08-02 23:47:41 -0400 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-08-02 23:47:41 -0400 |
commit | d5fea5fd0de4c41b7de3ba153acdecf56fa005cd (patch) | |
tree | 575dc12ff35121997a14c42ef3ae9564b57fab4e /src | |
parent | c711827e94f35881ee2ad877f55b62f326085460 (diff) | |
download | craftbukkit-d5fea5fd0de4c41b7de3ba153acdecf56fa005cd.tar craftbukkit-d5fea5fd0de4c41b7de3ba153acdecf56fa005cd.tar.gz craftbukkit-d5fea5fd0de4c41b7de3ba153acdecf56fa005cd.tar.lz craftbukkit-d5fea5fd0de4c41b7de3ba153acdecf56fa005cd.tar.xz craftbukkit-d5fea5fd0de4c41b7de3ba153acdecf56fa005cd.zip |
Fixed translation issue breaking custom world generation. Fixes BUKKIT-1975
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/net/minecraft/server/WorldServer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java index ab986043..dd796811 100644 --- a/src/main/java/net/minecraft/server/WorldServer.java +++ b/src/main/java/net/minecraft/server/WorldServer.java @@ -39,7 +39,7 @@ public class WorldServer extends World implements org.bukkit.BlockChangeDelegate public final int dimension; public WorldServer(MinecraftServer minecraftserver, IDataManager idatamanager, String s, int i, WorldSettings worldsettings, MethodProfiler methodprofiler, org.bukkit.World.Environment env, org.bukkit.generator.ChunkGenerator gen) { - super(idatamanager, s, worldsettings, WorldProvider.byDimension(i), methodprofiler, gen, env); + super(idatamanager, s, worldsettings, WorldProvider.byDimension(env.getId()), methodprofiler, gen, env); this.dimension = i; this.pvpMode = minecraftserver.getPvP(); // CraftBukkit end |