1
0
Fork 0

correct if/else in line 42

turtlestriderbeefox
chmodsayshello 2022-10-31 21:53:51 +00:00
parent c572c27326
commit e9703c409e
1 changed files with 3 additions and 2 deletions

View File

@ -23,6 +23,7 @@ minetest.register_chatcommand("awards", {
if param == "enable" then
awards.enable(name)
minetest.chat_send_player(name, S("You have enabled your advancements."))
return
end
if awards.player(name).disabled then
@ -37,8 +38,8 @@ minetest.register_chatcommand("awards", {
elseif param == "disable" then
awards.disable(name)
minetest.chat_send_player(name, S("You have disabled your advancements."))
else param == "c" then
awards.show_to(name, name, nil, true)
else
awards.show_to(name, name, nil, false)
end
end
})