Update mods/ctf/ctf_classes/ranged.lua
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
parent
d778b3a622
commit
3279f45c6c
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ local function check_rocket(itemname)
|
||||||
on_use = function(itemstack, user, ...)
|
on_use = function(itemstack, user, ...)
|
||||||
if not ctf_classes.get(user).properties.allow_rockets then
|
if not ctf_classes.get(user).properties.allow_rockets then
|
||||||
minetest.chat_send_player(user:get_player_name(),
|
minetest.chat_send_player(user:get_player_name(),
|
||||||
"You can't use that weapon! Change your class at base")
|
"You can't use that weapon! Change your class at base.")
|
||||||
return itemstack
|
return itemstack
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue