mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
update std rules & add player.destroy binding
This commit is contained in:
parent
df2f24d94e
commit
d27179b6c3
9 changed files with 22 additions and 9 deletions
|
|
@ -33,7 +33,7 @@ console.add_command(
|
|||
local str = "Available commands:"
|
||||
|
||||
for i,k in ipairs(commands) do
|
||||
if rules.get("cheat-commands") or not table.has(console.cheats, k) then
|
||||
if rules.get("allow-cheats") or not table.has(console.cheats, k) then
|
||||
str = str .. "\n " .. build_scheme(console.get_command_info(k))
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue