From f3c8f73975857a4e5d31a6a21111eee8b7888bdd Mon Sep 17 00:00:00 2001 From: Sekwah Date: Fri, 14 May 2021 02:59:24 +0100 Subject: [PATCH] feat(proxy): Modern forwarding will be automatically detected. You will no longer need to manually set ForceEnableProxySupport --- .../sekwah/advancedportals/bukkit/AdvancedPortalsPlugin.java | 4 ++++ .../advancedportals/velocity/AdvancedPortalsPlugin.java | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/sekwah/advancedportals/bukkit/AdvancedPortalsPlugin.java b/src/main/java/com/sekwah/advancedportals/bukkit/AdvancedPortalsPlugin.java index d419106..ebcc3f2 100644 --- a/src/main/java/com/sekwah/advancedportals/bukkit/AdvancedPortalsPlugin.java +++ b/src/main/java/com/sekwah/advancedportals/bukkit/AdvancedPortalsPlugin.java @@ -17,6 +17,10 @@ import org.bukkit.plugin.java.JavaPlugin; import java.util.HashMap; import java.util.Map; +/** + * Support for auto detecting modern forwarding added. + */ + public class AdvancedPortalsPlugin extends JavaPlugin { private Settings settings; diff --git a/src/main/java/com/sekwah/advancedportals/velocity/AdvancedPortalsPlugin.java b/src/main/java/com/sekwah/advancedportals/velocity/AdvancedPortalsPlugin.java index 5e867d0..7980787 100644 --- a/src/main/java/com/sekwah/advancedportals/velocity/AdvancedPortalsPlugin.java +++ b/src/main/java/com/sekwah/advancedportals/velocity/AdvancedPortalsPlugin.java @@ -18,10 +18,6 @@ import org.slf4j.Logger; import java.util.HashMap; import java.util.concurrent.TimeUnit; -/** - * Velocity support was added here (this is just a comment to properly fix changelogs) - */ - /** * While there may be a better way to do this for now we are keeping the behavior so it also works with Bungee's horrible API. */