diff --git a/plugins/players.js b/plugins/players.js index 197f687..981ea10 100644 --- a/plugins/players.js +++ b/plugins/players.js @@ -107,7 +107,7 @@ function inject(bot, dcclient, config) { }); function addPlayer(player, packet) { - if (bot.options.host !== 'sus.shhnowisnottheti.me') { + if (bot.options.host === 'sus.shhnowisnottheti.me') { if (bot.players.getPlayer(player)) bot.emit('player_unvanished', player, packet); else bot.emit('player_added', player, packet); } @@ -146,7 +146,7 @@ function inject(bot, dcclient, config) { } async function removePlayer(player, packet) { - if (bot.options.host !== 'sus.shhnowisnottheti.me') { + if (bot.options.host === 'sus.shhnowisnottheti.me') { const fullPlayer = bot.players.getPlayer(player); const players = await bot.requester.getPlayerList();