We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc63d5f commit f994515Copy full SHA for f994515
src/main/java/org/spongepowered/api/plugin/PluginManager.java
@@ -37,14 +37,10 @@
37
public interface PluginManager {
38
39
/**
40
- * Get the plugin container from an instance, if available.
41
- *
42
- * <p>If the provided object is not a plugin instance (usually a class
43
- * annotated with {@link Plugin}, then {@link Optional#empty()} will be
44
- * returned.</p>
+ * Get the plugin container from an instance.
45
*
46
* @param instance The instance
47
- * @return The container, if available.
+ * @return The container
48
*/
49
Optional<PluginContainer> fromInstance(Object instance);
50
0 commit comments