[ci skip] PluginManager#getPlugin and PluginManager#isPluginEnabled are case-insensitive (#12723)
This commit is contained in:
parent
35b2c6ece4
commit
bd79e20c66
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue