geforkt von SteamWar/BungeeCore
Disable ForgeHandler for 1.20.2+
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
b892450e2d
Commit
43bd25c13e
@ -54,7 +54,7 @@ public class Forge extends BasicListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void onServerConnected(LoginEvent event) {
|
public static void onServerConnected(LoginEvent event) {
|
||||||
if(event.getConnection().getVersion() < 341) { //1.13+
|
if(event.getConnection().getVersion() < 341 || event.getConnection().getVersion() > 763) { //1.13 - 1.20.1
|
||||||
event.completeIntent(BungeeCore.get());
|
event.completeIntent(BungeeCore.get());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren