mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-25 08:06:51 +00:00
Fix build
This commit is contained in:
@@ -109,8 +109,7 @@ function calculateState(data: any, octaves: NoiseOctaves, shaper: TerrainShaper)
|
||||
export function getOctaves(obj: any): NoiseOctaves {
|
||||
if (typeof obj !== 'string') {
|
||||
const settings = NoiseGeneratorSettings.fromJson(DataModel.unwrapLists(obj))
|
||||
obj = settings.noise.densityFactor === 0 && settings.noise.densityOffset === -0.030078125
|
||||
? 'minecraft:nether' : 'minecraft:overworld'
|
||||
obj = settings.legacyRandomSource ? 'minecraft:nether' : 'minecraft:overworld'
|
||||
}
|
||||
switch (obj.replace(/^minecraft:/, '')) {
|
||||
case 'overworld':
|
||||
|
||||
Reference in New Issue
Block a user