From e29eeeb39fefe49fc65634043a6787a0897b29b5 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sat, 13 Jul 2019 22:18:38 +0200 Subject: [PATCH] Showing version info on 1.13+ --- src/de/steamwar/bungeecore/PlayerListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/PlayerListener.java b/src/de/steamwar/bungeecore/PlayerListener.java index 027fa85..b0a750e 100644 --- a/src/de/steamwar/bungeecore/PlayerListener.java +++ b/src/de/steamwar/bungeecore/PlayerListener.java @@ -123,7 +123,7 @@ public class PlayerListener implements Listener { } } - if(player.getPendingConnection().getVersion() < 335){ + if(player.getPendingConnection().getVersion() < 335 || player.getPendingConnection().getVersion() > 340){ player.sendMessage(BungeeCore.ChatPrefix + "§cWir empfehlen die Minecraft-Version 1.12.2"); } /*