Log cleanup.

This commit is contained in:
Hector Franqui 2017-09-21 13:45:34 -04:00
parent cb218fc9f9
commit c94edbc649

View File

@ -879,7 +879,6 @@ function npc.actions.use_bed(self, args)
local empty_nodes = npc.places.find_node_orthogonally(bed_pos, {"air", "cottages:bench"}, y_adjustment)
if empty_nodes ~= nil and #empty_nodes > 0 then
-- Get direction to the empty node
minetest.log("bed_pos: "..dump(bed_pos)..", empty_nodes: "..dump(empty_nodes))
dir = npc.actions.get_direction(bed_pos, empty_nodes[1].pos)
-- Calculate position to get out of bed