14 lines
716 B
Diff
14 lines
716 B
Diff
diff --git a/data/occupations/default_farmer.lua b/data/occupations/default_farmer.lua
|
|
index 673019b..b5452cd 100644
|
|
--- a/data/occupations/default_farmer.lua
|
|
+++ b/data/occupations/default_farmer.lua
|
|
@@ -33,7 +33,7 @@ npc.programs.register("mg_villages_npc:farmer:walk_to_field", function(self, arg
|
|
-- Get plotmarker
|
|
local plotmarker_pos = npc.locations.get_by_type(self, npc.locations.data.other.home_plotmarker)
|
|
-- There should always be just one plotmarker
|
|
- minetest.log("Got: "..dump(plotmarker_pos))
|
|
+ minetest.log("info","Got: "..dump(plotmarker_pos))
|
|
plotmarker_pos = plotmarker_pos[1].pos
|
|
-- Search building area for gates
|
|
local meta = minetest.get_meta(plotmarker_pos)
|