0
0
Fork 0

Remove unneeded logging

This commit is contained in:
ancientmarinerdev 2023-03-14 21:37:16 +00:00 committed by Gitea
parent 2c7039fdda
commit a3f23d0b35
1 changed files with 3 additions and 3 deletions

View File

@ -142,7 +142,7 @@ local function spread_sculk (p, xp_amount)
local r = math.min(math.random(#nn), xp_amount)
--minetest.log("r: ".. r)
for i=1,r do
minetest.set_node(nn[i],{name = "mcl_sculk:sculk" })
set_node_xp(nn[i],math.floor(xp_amount / r))
@ -170,9 +170,9 @@ end
minetest.register_on_dieplayer(function(player)
if mcl_sculk.handle_death(player:get_pos(), 5) then
minetest.log("Player is dead. Sculk")
--minetest.log("Player is dead. Sculk")
else
minetest.log("Player is dead. not Sculk")
--minetest.log("Player is dead. not Sculk")
end
end)