Skip to content

Commit

Permalink
Added missing annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
WillFP committed Feb 25, 2023
1 parent c99a1bd commit 7955a94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eco-api/src/main/java/com/willfp/eco/core/EcoPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -864,6 +864,7 @@ public final void reloadConfig() {
* @param pluginName The name.
* @return The plugin.
*/
@Nullable
public static EcoPlugin getPlugin(@NotNull final String pluginName) {
return Eco.get().getPluginByName(pluginName);
}
Expand All @@ -873,6 +874,7 @@ public static EcoPlugin getPlugin(@NotNull final String pluginName) {
*
* @return The set of names.
*/
@NotNull
public static Set<String> getPluginNames() {
return new HashSet<>(Eco.get().getLoadedPlugins());
}
Expand Down

0 comments on commit 7955a94

Please sign in to comment.