mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-24 18:09:41 -05:00
Use parametrized reflection to remove warnings
By: durron597 <martin.jared@gmail.com>
This commit is contained in:
1 parent
7e52bfafa3
commit
af1435dfe3
2 files changed
+4
-4
No files matched your search
@@ -18,7 +18,7 @@ public interface PluginManager {
|
||||
* @param loader Class name of the PluginLoader to register
|
||||
* @throws IllegalArgumentException Thrown when the given Class is not a valid PluginLoader
|
||||
*/
|
||||
public void RegisterInterface(Class loader) throws IllegalArgumentException;
|
||||
public void RegisterInterface(Class<? extends PluginLoader> loader) throws IllegalArgumentException;
|
||||
|
||||
/**
|
||||
* Checks if the given plugin is loaded and returns it when applicable
|
||||
|
||||
Reference in new issue
Block a user