Skip to content

Commit d151786

Browse files
committed
added region selector
1 parent 35d9b11 commit d151786

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>me.kodysimpson</groupId>
88
<artifactId>SimpAPI</artifactId>
9-
<version>4.5.3</version>
9+
<version>4.5.4</version>
1010
<packaging>jar</packaging>
1111

1212
<name>SimpAPI</name>

src/main/java/me/kodysimpson/simpapi/menu/MenuManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public static void setup(Server server, Plugin plugin) {
5353
*/
5454
public static void openMenu(Class<? extends Menu> menuClass, Player player) throws MenuManagerException, MenuManagerNotSetupException {
5555
try {
56-
menuClass.getConstructor(Plugin.class, PlayerMenuUtility.class).newInstance(getPlayerMenuUtility(player)).open();
56+
menuClass.getConstructor(PlayerMenuUtility.class).newInstance(getPlayerMenuUtility(player)).open();
5757
} catch (InstantiationException | IllegalAccessException | InvocationTargetException | NoSuchMethodException e) {
5858
throw new MenuManagerException();
5959
}

0 commit comments

Comments
 (0)