Compare commits
No commits in common. "9de5000fb8c3e3f11a2471910a10fb785afdd82a" and "c0abdb245bcc77e0b64a2a4ed4a7e8053f367701" have entirely different histories.
9de5000fb8
...
c0abdb245b
2 changed files with 1 additions and 6 deletions
|
@ -49,7 +49,7 @@ local function check_grapple(itemname)
|
||||||
on_use = function(itemstack, user, ...)
|
on_use = function(itemstack, user, ...)
|
||||||
if not ctf_classes.get(user).properties.allow_grapples then
|
if not ctf_classes.get(user).properties.allow_grapples then
|
||||||
minetest.chat_send_player(user:get_player_name(),
|
minetest.chat_send_player(user:get_player_name(),
|
||||||
"Your class can't use that weapon! Change your class at base")
|
"Your class can't use that weapon! Change your class at spawn")
|
||||||
|
|
||||||
return itemstack
|
return itemstack
|
||||||
end
|
end
|
||||||
|
|
|
@ -246,11 +246,6 @@ minetest.register_chatcommand("makepro", {
|
||||||
modified = true
|
modified = true
|
||||||
end
|
end
|
||||||
|
|
||||||
if stats.captures < 10 then
|
|
||||||
stats.captures = 10
|
|
||||||
modified = true
|
|
||||||
end
|
|
||||||
|
|
||||||
if modified then
|
if modified then
|
||||||
ctf_stats.request_save()
|
ctf_stats.request_save()
|
||||||
return true, "Made " .. param .. " a pro!"
|
return true, "Made " .. param .. " a pro!"
|
||||||
|
|
Loading…
Reference in a new issue