diff options
author | HacktheTime <l4bg0jb7@duck.com> | 2023-12-07 21:34:15 +0100 |
---|---|---|
committer | HacktheTime <l4bg0jb7@duck.com> | 2023-12-07 21:34:15 +0100 |
commit | 76919cbca34af3f90d63a16c298b8d053068c578 (patch) | |
tree | e218ebf81b961f788a259831d4e591deb71517e1 | |
parent | 7d431b124efd0cfd5ce16f5bad11ab6256baea3d (diff) | |
download | BBsentials-76919cbca34af3f90d63a16c298b8d053068c578.tar.gz BBsentials-76919cbca34af3f90d63a16c298b8d053068c578.tar.bz2 BBsentials-76919cbca34af3f90d63a16c298b8d053068c578.zip |
bug fixes
-rw-r--r-- | common/src/main/java/de/hype/bbsentials/common/communication/BBsentialConnection.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/src/main/java/de/hype/bbsentials/common/communication/BBsentialConnection.java b/common/src/main/java/de/hype/bbsentials/common/communication/BBsentialConnection.java index 817f94d..9d3aef9 100644 --- a/common/src/main/java/de/hype/bbsentials/common/communication/BBsentialConnection.java +++ b/common/src/main/java/de/hype/bbsentials/common/communication/BBsentialConnection.java @@ -445,7 +445,7 @@ public class BBsentialConnection { public void onPartyPacket(PartyPacket packet) { if (BBsentials.config.allowServerPartyInvite) { - if (packet.type.equals(PartyConstants.DISBAND.toString().toLowerCase())) Chat.sendCommand("/p disband"); + if (packet.type.equals(PartyConstants.DISBAND)) Chat.sendCommand("/p disband"); else Chat.sendCommand("/p " + packet.type.toString().toLowerCase() + String.join(" ", packet.users)); } else { |