aboutsummaryrefslogtreecommitdiff
path: root/builtin/client
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/client')
-rw-r--r--builtin/client/chatcommands.lua4
-rw-r--r--builtin/client/cheats.lua2
-rw-r--r--builtin/client/death_formspec.lua1
-rw-r--r--builtin/client/register.lua2
-rw-r--r--builtin/client/util.lua4
5 files changed, 6 insertions, 7 deletions
diff --git a/builtin/client/chatcommands.lua b/builtin/client/chatcommands.lua
index fc6ed5b2b..0da3dab1b 100644
--- a/builtin/client/chatcommands.lua
+++ b/builtin/client/chatcommands.lua
@@ -180,5 +180,5 @@ core.register_chatcommand("setpitch", {
end
})
-core.register_list_command("xray", "Configure X-Ray", "xray_nodes")
-core.register_list_command("search", "Configure NodeESP", "node_esp_nodes")
+core.register_list_command("xray", "Configure X-Ray", "xray_nodes")
+core.register_list_command("search", "Configure NodeESP", "node_esp_nodes")
diff --git a/builtin/client/cheats.lua b/builtin/client/cheats.lua
index 42f7abbb3..1abc2c8ef 100644
--- a/builtin/client/cheats.lua
+++ b/builtin/client/cheats.lua
@@ -55,4 +55,4 @@ core.cheats = {
function core.register_cheat(cheatname, category, func)
core.cheats[category] = core.cheats[category] or {}
core.cheats[category][cheatname] = func
-end
+end
diff --git a/builtin/client/death_formspec.lua b/builtin/client/death_formspec.lua
index 499ed47f3..7b8530440 100644
--- a/builtin/client/death_formspec.lua
+++ b/builtin/client/death_formspec.lua
@@ -36,4 +36,3 @@ core.register_chatcommand("respawn", {
end
end
})
-
diff --git a/builtin/client/register.lua b/builtin/client/register.lua
index 669ef134e..de5d89909 100644
--- a/builtin/client/register.lua
+++ b/builtin/client/register.lua
@@ -60,7 +60,7 @@ function core.override_item(name, redefinition)
end
local nodedef = core.get_node_def(name)
table.combine(itemdef, nodedef)
-
+
for k, v in pairs(redefinition) do
rawset(itemdef, k, v)
end
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