Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 13:00:06 +01:00
Fixed translation issue breaking custom world generation. Fixes BUKKIT-1975
Dieser Commit ist enthalten in:
Ursprung
c711827e94
Commit
d5fea5fd0d
@ -39,7 +39,7 @@ public class WorldServer extends World implements org.bukkit.BlockChangeDelegate
|
|||||||
public final int dimension;
|
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) {
|
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.dimension = i;
|
||||||
this.pvpMode = minecraftserver.getPvP();
|
this.pvpMode = minecraftserver.getPvP();
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren