From ff6c6cf8ec434d8241cc678b0927f526dd79ba3d Mon Sep 17 00:00:00 2001 From: Trixkz Date: Sun, 21 Nov 2021 21:46:01 -0500 Subject: [PATCH] Added party information --- .../java/rip/tilly/bedwars/listeners/InteractListener.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/rip/tilly/bedwars/listeners/InteractListener.java b/src/main/java/rip/tilly/bedwars/listeners/InteractListener.java index 6791959..f5997f0 100644 --- a/src/main/java/rip/tilly/bedwars/listeners/InteractListener.java +++ b/src/main/java/rip/tilly/bedwars/listeners/InteractListener.java @@ -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);