Add armor command, make verbose
This commit is contained in:
parent
c124048cd7
commit
74c47bb8dc
@ -319,7 +319,7 @@ function onCommand(input)
|
||||
input=splitstring(input)
|
||||
if input[1] == chat_prefix .. "vanilla" then
|
||||
setVanilla()
|
||||
print("Toggled vanilla skin")
|
||||
print("Vanilla skin is now " .. (vanilla_enabled and "enabled" or "disabled"))
|
||||
end
|
||||
if input[1] == chat_prefix .. "toggle_custom" then
|
||||
for key, value in pairs(model) do
|
||||
@ -346,5 +346,9 @@ function onCommand(input)
|
||||
log("Snoring is now " .. (snore_enabled and "enabled" or "disabled"))
|
||||
end
|
||||
end
|
||||
if input[1] == chat_prefix .. "armor" then
|
||||
setArmor()
|
||||
log("Armor is now " .. (armor_enabled and "enabled" or "disabled"))
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user