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
Columbus240 2017-06-04 11:21:34 +02:00 committed by GitHub
parent 9dc9d81e17
commit 26bd78f735
1 changed files with 2 additions and 2 deletions

View File

@ -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