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

36 lines
1.6 KiB
Diff
Raw Normal View History

From e46ca84dfcda26de04ccdd61a0707452ab704768 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
2019-12-02 12:55:27 +01:00
index c4f45964..6ae18f2c 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
@@ -274,8 +274,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
index 2ec6c23c..5841cf63 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
2018-12-27 00:40:37 +01:00
@@ -66,7 +66,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
--
2019-12-02 12:55:27 +01:00
2.24.0
2018-05-28 22:53:01 +02:00