Update mobs_mc

This commit is contained in:
Wuzzy 2017-07-12 22:09:37 +02:00
parent a24f34f1b5
commit 519ee63a57
16 changed files with 33 additions and 31 deletions

View file

@ -60,7 +60,7 @@ mobs:register_mob("mobs_mc:squid", {
-- Spawn near the water surface
local water = tonumber(minetest.setting_get("water_level")) or 0
local water = tonumber(minetest.settings:get("water_level")) or 0
--name, nodes, neighbours, minlight, maxlight, interval, chance, active_object_count, min_height, max_height
mobs:spawn_specific("mobs_mc:squid", mobs_mc.spawn.water, {mobs_mc.items.water_source}, 0, minetest.LIGHT_MAX+1, 30, 5500, 3, water-16, water)