fix crash for sure this time

master
Vanessa Dannenberg 2021-07-19 23:56:47 -04:00
parent a2976c609a
commit 680b02f7e2
1 changed files with 1 additions and 0 deletions

View File

@ -190,6 +190,7 @@ for i in ipairs(algae_list) do
elseif biome_lib.get_nodedef_field(above_node.name, "buildable_to") then
place_pos = pt.above
end
if not place_pos then return end -- something went wrong :P
if not minetest.is_protected(place_pos, placer:get_player_name()) then