mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-24 18:09:41 -05:00
Added PluginManager.getPlugins()
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
1 parent
91007ea0be
commit
1627c78fa1
2 files changed
+11
No files matched your search
@@ -136,6 +136,10 @@ public final class SimplePluginManager implements PluginManager {
|
||||
return lookupNames.get(name);
|
||||
}
|
||||
|
||||
public Plugin[] getPlugins() {
|
||||
return plugins.toArray(new Plugin[0]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if the given plugin is enabled or not
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user