[ci skip] PluginManager#getPlugin and PluginManager#isPluginEnabled are case-insensitive (#12723)

This commit is contained in:
FlorianMichael
2025-06-26 21:17:20 +02:00
committed by GitHub
parent 35b2c6ece4
commit bd79e20c66
2 changed files with 4 additions and 4 deletions

View File

@@ -29,7 +29,7 @@ public interface PluginManager extends io.papermc.paper.plugin.PermissionManager
/**
* Checks if the given plugin is loaded and returns it when applicable
* <p>
* Please note that the name of the plugin is case-sensitive
* Please note that the name of the plugin is case-insensitive
*
* @param name Name of the plugin to check
* @return Plugin if it exists, otherwise null
@@ -48,7 +48,7 @@ public interface PluginManager extends io.papermc.paper.plugin.PermissionManager
/**
* Checks if the given plugin is enabled or not
* <p>
* Please note that the name of the plugin is case-sensitive.
* Please note that the name of the plugin is case-insensitive.
*
* @param name Name of the plugin to check
* @return true if the plugin is enabled, otherwise false

View File

@@ -464,7 +464,7 @@ public final class SimplePluginManager implements PluginManager {
/**
* Checks if the given plugin is loaded and returns it when applicable
* <p>
* Please note that the name of the plugin is case-sensitive
* Please note that the name of the plugin is case-insensitive
*
* @param name Name of the plugin to check
* @return Plugin if it exists, otherwise null
@@ -486,7 +486,7 @@ public final class SimplePluginManager implements PluginManager {
/**
* Checks if the given plugin is enabled or not
* <p>
* Please note that the name of the plugin is case-sensitive.
* Please note that the name of the plugin is case-insensitive.
*
* @param name Name of the plugin to check
* @return true if the plugin is enabled, otherwise false