mirror of
https://codeberg.org/tenplus1/mobs_monster.git
synced 2024-12-23 01:10:26 +01:00
getpos to get_pos
This commit is contained in:
parent
457be1dd82
commit
0f33e5c02d
@ -51,7 +51,7 @@ mobs:register_mob("mobs_monster:sand_monster", {
|
||||
},
|
||||
--[[
|
||||
custom_attack = function(self, p)
|
||||
local pos = self.object:getpos()
|
||||
local pos = self.object:get_pos()
|
||||
minetest.add_item(pos, "default:sand")
|
||||
end,
|
||||
]]
|
||||
|
Loading…
Reference in New Issue
Block a user