Add armor command, make verbose

This commit is contained in:
NullBite 2022-03-20 01:28:16 -04:00
parent c124048cd7
commit 74c47bb8dc
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

View File

@ -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