diff --git a/patches/server/0014-Require-plugins-to-be-explicitly-marked-as-Folia-sup.patch b/patches/server/0014-Require-plugins-to-be-explicitly-marked-as-Folia-sup.patch index 028cbb3..78217a9 100644 --- a/patches/server/0014-Require-plugins-to-be-explicitly-marked-as-Folia-sup.patch +++ b/patches/server/0014-Require-plugins-to-be-explicitly-marked-as-Folia-sup.patch @@ -62,3 +62,21 @@ index 14ed05945ba5bfeb2b539d4786278b0e04130404..ad13d60eeb94a75c97b3d0696c39d834 // Copied from SimplePluginManager#loadPlugins // Spigot doesn't validate the name when the config is created, and instead when the plugin is loaded. // Paper plugin configuration will do these checks in config serializer instead of when this is created. +diff --git a/src/test/java/io/papermc/paper/plugin/TestPluginMeta.java b/src/test/java/io/papermc/paper/plugin/TestPluginMeta.java +index ba271c35eb2804f94cfc893bf94affb9ae13d3ba..db9285c2ff0c805f5d9564b6e8520c33ea5bb65a 100644 +--- a/src/test/java/io/papermc/paper/plugin/TestPluginMeta.java ++++ b/src/test/java/io/papermc/paper/plugin/TestPluginMeta.java +@@ -20,6 +20,13 @@ public class TestPluginMeta implements PluginMeta { + this.identifier = identifier; + } + ++ // Folia start - region threading ++ @Override ++ public boolean isFoliaSupported() { ++ return true; ++ } ++ // Folia end - region threading ++ + @Override + public @NotNull String getName() { + return this.identifier;