Implementation of #5280

This commit is contained in:
Anuken
2021-06-07 10:47:53 -04:00
parent a64efce5a0
commit 82742339a3
6 changed files with 184 additions and 77 deletions
+12
View File
@@ -134,6 +134,18 @@ public class EventType{
}
}
/** Consider using Menus.registerMenu instead. */
public static class MenuOptionChooseEvent{
public final Player player;
public final int menuId, option;
public MenuOptionChooseEvent(Player player, int menuId, int option){
this.player = player;
this.option = option;
this.menuId = menuId;
}
}
public static class PlayerChatEvent{
public final Player player;
public final String message;