Change class item warning (#802)

This commit is contained in:
Toby1710 2021-02-18 00:01:25 +02:00 committed by GitHub
parent b15e09e763
commit 5bdb99d184
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,7 @@ shooter.get_weapon_spec = function(user, weapon_name)
if table.indexof(class.properties.allowed_guns or {}, weapon_name) == -1 then if table.indexof(class.properties.allowed_guns or {}, weapon_name) == -1 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 spawn") "Your class can't use that weapon! Change your class at base")
return nil return nil
end end