diff --git a/patches/api/Paper-Plugins.patch b/patches/api/Paper-Plugins.patch index af395045ef..7a0cf56a44 100644 --- a/patches/api/Paper-Plugins.patch +++ b/patches/api/Paper-Plugins.patch @@ -215,7 +215,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 +/** + * Represents the context provided to a {@link PluginBootstrap} during both the bootstrapping and plugin + * instantiation logic. -+ * A boostrap context may be used to access data or logic usually provided to {@link org.bukkit.plugin.Plugin} instances ++ * A bootstrap context may be used to access data or logic usually provided to {@link org.bukkit.plugin.Plugin} instances + * like the plugin's configuration or logger during the plugins bootstrap. + */ +@ApiStatus.Experimental @@ -236,7 +236,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 +import org.jetbrains.annotations.NotNull; + +/** -+ * A plugin boostrap is meant for loading certain parts of the plugin before the server is loaded. ++ * A plugin bootstrap is meant for loading certain parts of the plugin before the server is loaded. + *

+ * Plugin bootstrapping allows values to be initialized in certain parts of the server that might not be allowed + * when the server is running. @@ -287,7 +287,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 +/** + * Represents the context provided to a {@link PluginBootstrap} during both the bootstrapping and plugin + * instantiation logic. -+ * A boostrap context may be used to access data or logic usually provided to {@link org.bukkit.plugin.Plugin} instances ++ * A bootstrap context may be used to access data or logic usually provided to {@link org.bukkit.plugin.Plugin} instances + * like the plugin's configuration or logger during the plugins bootstrap. + */ +@ApiStatus.NonExtendable diff --git a/patches/server/Paper-Plugins.patch b/patches/server/Paper-Plugins.patch index aaa187576d..a054bd0435 100644 --- a/patches/server/Paper-Plugins.patch +++ b/patches/server/Paper-Plugins.patch @@ -1758,7 +1758,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + throw new IllegalStateException("Only paper plugins can have a bootstrapper!"); + } + // Build a validated provider's dependencies into the graph -+ for (String dependency : paperPluginMeta.getBoostrapDependencies().keySet()) { ++ for (String dependency : paperPluginMeta.getBootstrapDependencies().keySet()) { + this.graph.putEdge(identifier, dependency); + } + } @@ -1770,7 +1770,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + } + + // Build a validated provider's dependencies into the graph -+ for (String dependency : paperPluginMeta.getBoostrapDependencies().keySet()) { ++ for (String dependency : paperPluginMeta.getBootstrapDependencies().keySet()) { + this.graph.removeEdge(identifier, dependency); + } + } @@ -5087,7 +5087,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + return this.dependencies.getOrDefault(PluginDependencyLifeCycle.SERVER, Map.of()); + } + -+ public Map getBoostrapDependencies() { ++ public Map getBootstrapDependencies() { + return this.dependencies.getOrDefault(PluginDependencyLifeCycle.BOOTSTRAP, Map.of()); + } + @@ -6045,7 +6045,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + public PaperBootstrapOrderConfiguration(PaperPluginMeta paperPluginMeta) { + this.paperPluginMeta = paperPluginMeta; + -+ for (Map.Entry configuration : paperPluginMeta.getBoostrapDependencies().entrySet()) { ++ for (Map.Entry configuration : paperPluginMeta.getBootstrapDependencies().entrySet()) { + String name = configuration.getKey(); + DependencyConfiguration dependencyConfiguration = configuration.getValue(); + @@ -6229,7 +6229,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + @Override + public List validateDependencies(@NotNull DependencyContext context) { + List missingDependencies = new ArrayList<>(); -+ for (Map.Entry configuration : this.getMeta().getBoostrapDependencies().entrySet()) { ++ for (Map.Entry configuration : this.getMeta().getBootstrapDependencies().entrySet()) { + String dependency = configuration.getKey(); + if (configuration.getValue().required() && !context.hasDependency(dependency)) { + missingDependencies.add(dependency);