Compare commits

..

2 Commits
6.0.1 ... 6.0.2

Author SHA1 Message Date
Auxilor
214308da10 Updated to 6.0.2 2021-07-21 21:46:12 +01:00
Auxilor
2c12f78aa6 Fixed 'Menu not instance of EcoMenu!' bug 2021-07-21 21:45:59 +01:00
2 changed files with 5 additions and 1 deletions

View File

@@ -54,6 +54,10 @@ public class GUIListener extends PluginDependent<EcoPlugin> implements Listener
Menu menu = MenuHandler.getMenu(event.getInventory());
if (menu == null) {
return;
}
Validate.isTrue(menu instanceof EcoMenu, "Menu not instance of EcoMenu!");
EcoMenu ecoMenu = (EcoMenu) menu;

View File

@@ -1,2 +1,2 @@
version = 6.0.1
version = 6.0.2
plugin-name = eco