Added party information

This commit is contained in:
Trixkz 2021-11-21 21:46:01 -05:00
parent 0285358607
commit ff6c6cf8ec

View File

@ -30,6 +30,7 @@ public class InteractListener implements Listener {
}
Player player = event.getPlayer();
if (player.getGameMode() == GameMode.CREATIVE) {
return;
}
@ -94,7 +95,8 @@ public class InteractListener implements Listener {
// open party games menu
break;
case PARTY_INFO:
// show party info
player.chat("/party info");
break;
case PARTY_LEAVE:
this.plugin.getPartyManager().leaveParty(player);