Actually, let's make it possible to disable it if needed

This commit is contained in:
Video
2021-08-10 04:13:23 -06:00
parent a9c9979b1c
commit 871acc2eeb
3 changed files with 8 additions and 5 deletions

View File

@ -192,7 +192,7 @@ public class LoginProcess extends FreedomService
final PlayerData playerData = plugin.pl.getData(player);
// Sends a message to the player if they have never joined before (or simply lack player data).
if (!event.getPlayer().hasPlayedBefore())
if (!event.getPlayer().hasPlayedBefore() && ConfigEntry.FIRST_JOIN_INFO_ENABLED.getBoolean())
{
final BukkitTask runnable = new BukkitRunnable()
{