diff options
Diffstat (limited to 'clientmods')
| -rw-r--r-- | clientmods/commands/init.lua | 2 | ||||
| -rw-r--r-- | clientmods/inventory/invhack.lua | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/clientmods/commands/init.lua b/clientmods/commands/init.lua index 71328e9ed..e481e6c34 100644 --- a/clientmods/commands/init.lua +++ b/clientmods/commands/init.lua @@ -8,7 +8,7 @@ minetest.register_chatcommand("say", { minetest.register_chatcommand("teleport", { params = "<X>,<Y>,<Z>", - description = "Teleport to relative coordinates. " .. (core.anticheat_protection and "Only works for short distances." or ""), + description = "Teleport to relative coordinates.", func = function(param) local success, pos = minetest.parse_relative_pos(param) if success then diff --git a/clientmods/inventory/invhack.lua b/clientmods/inventory/invhack.lua index c19167e4e..eb6f48bf2 100644 --- a/clientmods/inventory/invhack.lua +++ b/clientmods/inventory/invhack.lua @@ -4,9 +4,9 @@ minetest.register_chatcommand("invhack", { "invhack:invhack", "" .. "size[8,7.5]" - .. "list[" .. player .. ";main;0,3.5;8,4;]" - .. "list[" .. player .. ";craft;3,0;3,3;]" - .. "list[" .. player .. ";craftpreview;7,1;1,1;]" + .. "list[player:" .. player .. ";main;0,3.5;8,4;]" + .. "list[player:" .. player .. ";craft;3,0;3,3;]" + .. "list[player:" .. player .. ";craftpreview;7,1;1,1;]" ) end }) |
