Fix wrong hue shift on modifiers
This commit is contained in:
parent
fde196ceae
commit
a0d3ddf595
@ -583,7 +583,7 @@ class ServerChunk(world: ServerWorld, pos: ChunkPos) : Chunk<ServerWorld, Server
|
||||
|
||||
if (state.foreground.material.supportsModifier(info.foregroundMod)) {
|
||||
state.foreground.modifier = info.foregroundMod.entry ?: BuiltinMetaMaterials.EMPTY_MOD
|
||||
state.foreground.hueShift = info.blockBiome?.hueShift(info.foregroundMod) ?: 0f
|
||||
state.foreground.modifierHueShift = info.blockBiome?.hueShift(info.foregroundMod) ?: 0f
|
||||
}
|
||||
}
|
||||
|
||||
@ -594,7 +594,7 @@ class ServerChunk(world: ServerWorld, pos: ChunkPos) : Chunk<ServerWorld, Server
|
||||
|
||||
if (state.background.material.supportsModifier(info.backgroundMod)) {
|
||||
state.background.modifier = info.backgroundMod.entry ?: BuiltinMetaMaterials.EMPTY_MOD
|
||||
state.background.hueShift = info.blockBiome?.hueShift(info.backgroundMod) ?: 0f
|
||||
state.background.modifierHueShift = info.blockBiome?.hueShift(info.backgroundMod) ?: 0f
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user