From b591f8608e8dd5877db542e9b6e543aa574c93fe Mon Sep 17 00:00:00 2001 From: jojo Date: Sat, 19 Dec 2020 15:29:28 +0100 Subject: [PATCH] Fix JoinListener --- src/de/steamwar/misslewars/listener/JoinListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/misslewars/listener/JoinListener.java b/src/de/steamwar/misslewars/listener/JoinListener.java index e9c648a..7469e5a 100644 --- a/src/de/steamwar/misslewars/listener/JoinListener.java +++ b/src/de/steamwar/misslewars/listener/JoinListener.java @@ -36,9 +36,9 @@ public class JoinListener extends BasicListener { @EventHandler(priority = EventPriority.HIGHEST) public void onJoin(PlayerJoinEvent e){ + e.setJoinMessage("§a» " + e.getPlayer().getDisplayName()); if (Config.isChallenge()) return; MissileWars.join(e.getPlayer()); - e.setJoinMessage("§a» " + e.getPlayer().getDisplayName()); } }