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