diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-12-12 13:58:46 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-12-12 13:58:46 +0100 |
commit | f783f59392f5e86c5645195521b2fa008ffe4fe7 (patch) | |
tree | c6f7fb85797f370033af7954fdbce2403a1df07c /builtin/client/util.lua | |
parent | 8b58465aa1d63e5f6dbbd9a7a43bfa7dc257c4de (diff) | |
download | dragonfireclient-f783f59392f5e86c5645195521b2fa008ffe4fe7.tar.xz |
Make GitHub Actions Happy try 1
Diffstat (limited to 'builtin/client/util.lua')
-rw-r--r-- | builtin/client/util.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/client/util.lua b/builtin/client/util.lua index 30f983af3..e85727436 100644 --- a/builtin/client/util.lua +++ b/builtin/client/util.lua @@ -13,13 +13,13 @@ function core.parse_pos(param) return true, vector.round(p) end return false, "Invalid position (" .. param .. ")" -end +end function core.parse_relative_pos(param) local success, pos = core.parse_pos(param:gsub("~", "0")) if success then pos = vector.round(vector.add(core.localplayer:get_pos(), pos)) end return success, pos -end +end function core.find_item(item, mini, maxi) for index, stack in ipairs(core.get_inventory("current_player").main) do |