diff options
Diffstat (limited to 'builtin/game/item_entity.lua')
-rw-r--r-- | builtin/game/item_entity.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/game/item_entity.lua b/builtin/game/item_entity.lua index 4dca6117d..a330e8723 100644 --- a/builtin/game/item_entity.lua +++ b/builtin/game/item_entity.lua @@ -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 |