correção de erro no find target
parent
19b2787ad0
commit
fb787453ea
|
@ -165,7 +165,7 @@ minetest.register_node("taverna_barbara:piso_barman", {
|
|||
})
|
||||
|
||||
local verificar_barman = function(pos)
|
||||
if table.maxn(creatures.find_target(self.object:getpos(), 10, {
|
||||
if table.maxn(creatures.find_target(pos, 10, {
|
||||
search_type = "mate",
|
||||
mob_name = "taverna_barbara:barman",
|
||||
xray = true,
|
||||
|
|
|
@ -246,7 +246,7 @@ minetest.register_node("taverna_barbara:bau_trambiqueiro", {
|
|||
})
|
||||
|
||||
local verificar_trambiqueiro = function(pos)
|
||||
if table.maxn(creatures.find_target(self.object:getpos(), 10, {
|
||||
if table.maxn(creatures.find_target(pos, 10, {
|
||||
search_type = "mate",
|
||||
mob_name = "taverna_barbara:trambiqueiro",
|
||||
xray = true,
|
||||
|
|
Loading…
Reference in New Issue