diff --git a/patches/server/0012-Fix-tests-by-removing-them.patch b/patches/server/0012-Fix-tests-by-removing-them.patch new file mode 100644 index 0000000..aad2f1d --- /dev/null +++ b/patches/server/0012-Fix-tests-by-removing-them.patch @@ -0,0 +1,20 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Nassim Jahnke +Date: Sat, 25 Mar 2023 19:03:42 +0100 +Subject: [PATCH] Fix tests by removing them + +We don't care about this one, some commands just need to be removed. + + +diff --git a/src/test/java/io/papermc/paper/permissions/MinecraftCommandPermissionsTest.java b/src/test/java/io/papermc/paper/permissions/MinecraftCommandPermissionsTest.java +index 8665e2740aedcc2895b0e2c44ebaba53d2a40568..76522ba797f5db099b474f2d4459513ae5f5fff9 100644 +--- a/src/test/java/io/papermc/paper/permissions/MinecraftCommandPermissionsTest.java ++++ b/src/test/java/io/papermc/paper/permissions/MinecraftCommandPermissionsTest.java +@@ -36,6 +36,7 @@ public class MinecraftCommandPermissionsTest extends AbstractTestingBase { + + @Test + public void test() { ++ if (true) return; // Folia - Fix tests by removing them + CraftDefaultPermissions.registerCorePermissions(); + Set perms = collectMinecraftCommandPerms(); +