Skip to content

Commit

Permalink
rubber tree gen checks if mcl is (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
nonfreegithub committed Sep 14, 2023
1 parent c81f313 commit b6f0d11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion technic_worldgen/rubber.lua
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ if technic.config:get_bool("enable_rubber_tree_generation") then
y = (maxp.y - minp.y) / 2 + minp.y,
z = (maxp.z - minp.z) / 2 + minp.z}
local pos = minetest.find_node_near(tmp, maxp.x - minp.x,
{"mcl_core:dirt_with_grass", "default:dirt_with_grass"})
{has_mcl and "mcl_core:dirt_with_grass" or "default:dirt_with_grass"})
if pos ~= nil then
minetest.spawn_tree({x=pos.x, y=pos.y+1, z=pos.z}, technic.rubber_tree_model)
end
Expand Down

0 comments on commit b6f0d11

Please sign in to comment.