Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1 from SwissalpS/patch-1
Browse files Browse the repository at this point in the history
function name changed
  • Loading branch information
BuckarooBanzay committed Jan 25, 2022
2 parents bb7821b + 580bdd6 commit 176d149
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ else
print("[monitoring] replacer extension loaded")
end

monitoring.wrap_global({"replacer", "replace"}, "replacer_replace")
if replacer.version and 20220118 <= replacer.version then
monitoring.wrap_global({"replacer", "on_use"}, "replacer_replace")
else
monitoring.wrap_global({"replacer", "replace"}, "replacer_replace")
end

0 comments on commit 176d149

Please sign in to comment.