diff --git a/init.lua b/init.lua index 484f178..71bb2f5 100755 --- a/init.lua +++ b/init.lua @@ -14,6 +14,7 @@ if ts_furniture.enable_sitting then local name = player:get_player_name() if not player_api.player_attached[name] then if vector.length(player:get_player_velocity()) > 0 then + minetest.chat_send_player(player:get_player_name(), 'You can only sit down when you are not moving.') return end player:move_to(pos)