Waterfall/BungeeCord-Patches/0041-Forge-is-a-first-class-citizen.patch

36 lines
1.6 KiB
Diff
Raw Normal View History

2023-09-21 12:33:23 +02:00
From 06d7c7b413033551477403e14189e9deb92641a5 Mon Sep 17 00:00:00 2001
2018-05-28 22:53:01 +02:00
From: Jamie Mansfield <dev@jamierocks.uk>
Date: Mon, 28 May 2018 21:43:55 +0100
Subject: [PATCH] Forge is a first class citizen
diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java
2023-09-21 12:33:23 +02:00
index 71bb3d9d..5cc308b8 100644
2018-05-28 22:53:01 +02:00
--- a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java
+++ b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java
@@ -290,8 +290,6 @@ public class BungeeCord extends ProxyServer
2018-05-28 22:53:01 +02:00
registerChannel( ForgeConstants.FML_TAG );
registerChannel( ForgeConstants.FML_HANDSHAKE_TAG );
registerChannel( ForgeConstants.FORGE_REGISTER );
2018-07-09 11:12:55 +02:00
-
2018-05-28 22:53:01 +02:00
- getLogger().warning( "MinecraftForge support is currently unmaintained and may have unresolved issues. Please use at your own risk." );
}
isRunning = true;
diff --git a/proxy/src/main/java/net/md_5/bungee/conf/Configuration.java b/proxy/src/main/java/net/md_5/bungee/conf/Configuration.java
2022-06-07 19:12:20 +02:00
index 7094fe0b..8911bee8 100644
2018-05-28 22:53:01 +02:00
--- a/proxy/src/main/java/net/md_5/bungee/conf/Configuration.java
+++ b/proxy/src/main/java/net/md_5/bungee/conf/Configuration.java
2022-06-07 19:12:20 +02:00
@@ -73,7 +73,7 @@ public abstract class Configuration implements ProxyConfig
2018-05-28 22:53:01 +02:00
private Favicon favicon;
private int compressionThreshold = 256;
private boolean preventProxyConnections;
- private boolean forgeSupport;
+ private boolean forgeSupport = true; // Waterfall: default to enabled
@Synchronized("serversLock") // Waterfall
public void load()
2018-05-28 22:53:01 +02:00
--
2023-09-21 12:33:23 +02:00
2.42.0
2018-05-28 22:53:01 +02:00