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

36 lines
1.6 KiB
Diff
Raw Normal View History

From 48f0ae897c372ea9a02a982991d2adda25095875 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
index d71556a7..289a63d5 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
@@ -280,8 +280,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 115f614e..85d2197a 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
@@ -69,7 +69,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
--
2.27.0
2018-05-28 22:53:01 +02:00