From 12a4c2e4ec217a958c10a97a86468a5dc4869b40 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sun, 21 Mar 2021 14:22:16 +0100 Subject: [PATCH] Hotfix resourcepackforce --- src/de/steamwar/spectatesystem/listener/JoinListener.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/de/steamwar/spectatesystem/listener/JoinListener.java b/src/de/steamwar/spectatesystem/listener/JoinListener.java index bd76dc2..0e12718 100644 --- a/src/de/steamwar/spectatesystem/listener/JoinListener.java +++ b/src/de/steamwar/spectatesystem/listener/JoinListener.java @@ -72,9 +72,9 @@ public class JoinListener extends BasicListener { public void onResourcepack(PlayerResourcePackStatusEvent e){ if(e.getStatus() == PlayerResourcePackStatusEvent.Status.ACCEPTED || e.getStatus() == PlayerResourcePackStatusEvent.Status.SUCCESSFULLY_LOADED) return; - - Player player = e.getPlayer(); + return; + /*Player player = e.getPlayer(); player.sendMessage("§eSteam§8War» §cAuf Eventserver kann nur mit dem SteamWar-Resourcepack beigetreten werden"); - player.kickPlayer(null); + player.kickPlayer(null);*/ } }