Make lava cooling compatible with bedrock mod
The bedrock mod registered `bedrock:deepstone` and `bedrock:bedrock` as ores. Somehow having this mod installed made flowing lava only cool into deepstone, which breaks the game. This patch fixes it by preventing bedrock and deepstone from being created through lava cooling.master
parent
9dc9d81e17
commit
26bd78f735
|
@ -129,8 +129,8 @@ end
|
|||
|
||||
-- Lava cooling
|
||||
|
||||
-- Exclude coal and diamond from being generated
|
||||
additional_stuff.not_an_ore = {"default:stone_with_coal", "default:stone_with_diamond"}
|
||||
-- Exclude bedrock, coal and diamond from being generated
|
||||
additional_stuff.not_an_ore = {"default:stone_with_coal", "default:stone_with_diamond", "bedrock:deepstone", "bedrock:bedrock"}
|
||||
|
||||
local function is_not_an_ore(ore_name)
|
||||
for _,no_ore in ipairs(additional_stuff.not_an_ore) do
|
||||
|
|
Loading…
Reference in New Issue