diff --git a/README.md b/README.md index a155232..e196ebd 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,6 @@ - **New NBT cache** which reduces a lot of I/O operations from the main thread while preserving correct data. - **Pre-tweaked** configuration files to reach optimal performance with minimal impact on normal behaviors. - **IP and login location** hiding feature, which adds another security layer in the logs. -- **UPnP Port Forwarding** which helps users who can not open their ports. - **Removed metrics**, no one can collect data, not even us. - **Bugfixes** for several Minecraft issues. - **Safer methods** for Vanilla calls. diff --git a/patches/server/0073-Purpur-UPnP-Port-Forwarding.patch b/patches/server/0073-Purpur-UPnP-Port-Forwarding.patch deleted file mode 100644 index 6f5f013..0000000 --- a/patches/server/0073-Purpur-UPnP-Port-Forwarding.patch +++ /dev/null @@ -1,99 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: William Blake Galbreath -Date: Wed, 22 Jan 2020 20:13:40 -0600 -Subject: [PATCH] (Purpur) UPnP Port Forwarding - -Original code by pl3xgaming, licensed under MIT -You can find the original code on https://github.com/pl3xgaming/Purpur - -diff --git a/build.gradle.kts b/build.gradle.kts -index 74f8760264aa93af9d4d2895a96ed416a8ef411e..a9de7cb9101b56eeac3fdc6db38aff451ce8be0b 100644 ---- a/build.gradle.kts -+++ b/build.gradle.kts -@@ -64,6 +64,8 @@ dependencies { - - implementation("co.aikar:cleaner:1.0-SNAPSHOT") // Paper - implementation("io.netty:netty-all:4.1.65.Final") // Paper -+ implementation("cat.inspiracio:rhino-js-engine:1.7.7.1") // Purpur -+ implementation("dev.omega24:upnp4j:1.0") // Purpur - - implementation("org.quiltmc:tiny-mappings-parser:0.3.0") // Paper - needed to read mappings for stacktrace deobfuscation - implementation("com.velocitypowered:velocity-native:1.1.0-SNAPSHOT") // Paper -diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java -index 586df67649d8f022299bb40c07b330118ba28c7b..3b408e54b57b349bee80b11f0ee289cdf5f3e68c 100644 ---- a/src/main/java/net/minecraft/server/MinecraftServer.java -+++ b/src/main/java/net/minecraft/server/MinecraftServer.java -@@ -309,6 +309,7 @@ public abstract class MinecraftServer extends ReentrantBlockableEventLoop