Disabled extra vanilla override code
This commit is contained in:
parent
4732aa7ff8
commit
9f36264090
1 changed files with 12 additions and 12 deletions
|
@ -246,18 +246,18 @@ public class WorldGenUtil {
|
||||||
ChunkGenerator referenceGenerator = dimensions.get(key);
|
ChunkGenerator referenceGenerator = dimensions.get(key);
|
||||||
if (referenceGenerator instanceof EnforceableChunkGenerator enforcer) {
|
if (referenceGenerator instanceof EnforceableChunkGenerator enforcer) {
|
||||||
|
|
||||||
// probably not a datapack, so we need to check what other mods would have
|
// // probably not a datapack, so we need to check what other mods would have
|
||||||
// added to the vanilla settings
|
// // added to the vanilla settings
|
||||||
if (loadedStem.generator() instanceof EnforceableChunkGenerator) {
|
// if (loadedStem.generator() instanceof EnforceableChunkGenerator) {
|
||||||
// This list contains the vanilla default level stem (only available if a new world is loaded) as well as
|
// // This list contains the vanilla default level stem (only available if a new world is loaded) as well as
|
||||||
// The currently loaded stem
|
// // The currently loaded stem
|
||||||
var vanillaDimensionMap = WorldGenUtil.getDimensionsWithModData(net.minecraft.world.level.levelgen.presets.WorldPresets.NORMAL);
|
// var vanillaDimensionMap = WorldGenUtil.getDimensionsWithModData(net.minecraft.world.level.levelgen.presets.WorldPresets.NORMAL);
|
||||||
|
//
|
||||||
LevelStem vanillaDefaultStem = vanillaDimensionMap.get(key);
|
// LevelStem vanillaDefaultStem = vanillaDimensionMap.get(key);
|
||||||
if (vanillaDefaultStem != null) {
|
// if (vanillaDefaultStem != null) {
|
||||||
loadedStem = vanillaDefaultStem;
|
// loadedStem = vanillaDefaultStem;
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
|
|
||||||
// now compare the reference world settings (the ones that were created when the world was
|
// now compare the reference world settings (the ones that were created when the world was
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue