Skip to content

Commit 1dcc597

Browse files
committed
Removed the plugin potion
Removed the plugin as it not needed.
1 parent 1b88787 commit 1dcc597

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

Utility Library/src/main/java/org/broken/arrow/utility/library/UtilityLibrary.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,10 @@ public RegisterMenuAPI getMenuApi() {
6565
/**
6666
* Creates a new ItemCreator instance for the given plugin.
6767
*
68-
* @param plugin The plugin to create the ItemCreator for.
6968
* @return The ItemCreator instance.
7069
*/
71-
public ItemCreator getItemCreator(Plugin plugin) {
72-
return new ItemCreator(plugin);
70+
public ItemCreator getItemCreator() {
71+
return new ItemCreator(this);
7372
}
7473

7574
/**
@@ -105,11 +104,10 @@ public CommandRegistering getCommandRegistry() {
105104
/**
106105
* Retrieves a new BlockVisualize instance for the given plugin.
107106
*
108-
* @param plugin The plugin to create the BlockVisualize for.
109107
* @return The BlockVisualize instance.
110108
*/
111-
public BlockVisualize getVisualizer(Plugin plugin) {
112-
return new BlockVisualize(plugin);
109+
public BlockVisualize getVisualizer() {
110+
return new BlockVisualize(this);
113111
}
114112

115113
/**

0 commit comments

Comments
 (0)