luk3yx / minetest-cloaking

Allows players to go invisible in Minetest!
MIT License
4 stars 3 forks source link

Has joined the game #1

Closed rubenwardy closed 6 years ago

rubenwardy commented 6 years ago

if victim == "singleplayer" then

should be

if victim ~= "singleplayer" then

luk3yx commented 6 years ago

Hello,

In singleplayer, the built-in *** singleplayer joined the game isn't displayed, therefore, for consistency, the join message must be displayed. In multiplayer, the built-in joined the game message(s) get called, as they are defined in the LUA API.

rubenwardy commented 6 years ago

Ah, missed the callback call