mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Builtin: Replace deprecated function calls (#7561)
This commit is contained in:
parent
a0635f6024
commit
ade7a1cbcf
6 changed files with 19 additions and 19 deletions
|
@ -152,7 +152,7 @@ core.register_entity(":__builtin:item", {
|
|||
return
|
||||
end
|
||||
|
||||
local vel = self.object:getvelocity()
|
||||
local vel = self.object:get_velocity()
|
||||
local def = node and core.registered_nodes[node.name]
|
||||
local is_moving = (def and not def.walkable) or
|
||||
vel.x ~= 0 or vel.y ~= 0 or vel.z ~= 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue