aboutsummaryrefslogtreecommitdiff
path: root/clientmods
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2020-08-22 14:24:58 +0200
committerElias Fleckenstein <eliasfleckenstein@web.de>2020-08-22 14:24:58 +0200
commitd8b8c1d313c29e92b4ef15ad0a1fddd5ec8bc651 (patch)
tree85c94ccb8e261392e694c3eec48ba5802b270218 /clientmods
parent6e6c68ba046e9cddfafb069931731d68a2b5ec21 (diff)
downloaddragonfireclient-d8b8c1d313c29e92b4ef15ad0a1fddd5ec8bc651.tar.xz
Added Documentation for Additional API
Diffstat (limited to 'clientmods')
-rw-r--r--clientmods/commands/init.lua2
-rw-r--r--clientmods/inventory/invhack.lua6
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
})