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();
|
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user