3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-16 19:40:07 +01:00
Paper/nms-patches/WorldProviderHell.patch
2019-12-11 09:00:00 +11:00

37 Zeilen
1.3 KiB
Diff

--- a/net/minecraft/server/WorldProviderHell.java
+++ b/net/minecraft/server/WorldProviderHell.java
@@ -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() {
@Override
public double getCenterX() {
- return super.getCenterX() / 8.0D;
+ return super.getCenterX(); // CraftBukkit
}
@Override
public double getCenterZ() {
- return super.getCenterZ() / 8.0D;
+ return super.getCenterZ(); // CraftBukkit
}
};
}
+ // CraftBukkit start
+ /*
@Override
public DimensionManager getDimensionManager() {
return DimensionManager.NETHER;
}
+ */
+ // CraftBukkit end
}