Added party information
This commit is contained in:
parent
0285358607
commit
ff6c6cf8ec
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user