3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-21 05:50:05 +01:00
Paper/nms-patches/WorldProviderHell.patch

37 Zeilen
1.3 KiB
Diff

--- a/net/minecraft/server/WorldProviderHell.java
+++ b/net/minecraft/server/WorldProviderHell.java
2019-12-10 23:00:00 +01:00
@@ -18,7 +18,7 @@
generatorsettingsnether.a(Blocks.NETHERRACK.getBlockData());
generatorsettingsnether.b(Blocks.LAVA.getBlockData());
- return ChunkGeneratorType.b.create(this.b, BiomeLayout.b.a((BiomeLayoutConfiguration) ((BiomeLayoutFixedConfiguration) BiomeLayout.b.a(this.b.getWorldData())).a(Biomes.NETHER)), generatorsettingsnether);
+ return ChunkGeneratorType.b.create(this.b, BiomeLayout.b.a(((BiomeLayoutFixedConfiguration) BiomeLayout.b.a(this.b.getWorldData())).a(Biomes.NETHER)), generatorsettingsnether); // CraftBukkit - decompile error
}
@Override
@@ -53,18 +53,22 @@
return new WorldBorder() {
2019-04-23 04:00:00 +02:00
@Override
public double getCenterX() {
- return super.getCenterX() / 8.0D;
+ return super.getCenterX(); // CraftBukkit
}
2019-04-23 04:00:00 +02:00
@Override
public double getCenterZ() {
- return super.getCenterZ() / 8.0D;
+ return super.getCenterZ(); // CraftBukkit
}
};
}
+ // CraftBukkit start
+ /*
@Override
public DimensionManager getDimensionManager() {
return DimensionManager.NETHER;
}
+ */
+ // CraftBukkit end
}