aboutsummaryrefslogtreecommitdiff
path: root/common/src
diff options
context:
space:
mode:
authorHacktheTime <l4bg0jb7@duck.com>2023-12-07 21:34:15 +0100
committerHacktheTime <l4bg0jb7@duck.com>2023-12-07 21:34:15 +0100
commit76919cbca34af3f90d63a16c298b8d053068c578 (patch)
treee218ebf81b961f788a259831d4e591deb71517e1 /common/src
parent7d431b124efd0cfd5ce16f5bad11ab6256baea3d (diff)
downloadBBsentials-76919cbca34af3f90d63a16c298b8d053068c578.tar.gz
BBsentials-76919cbca34af3f90d63a16c298b8d053068c578.tar.bz2
BBsentials-76919cbca34af3f90d63a16c298b8d053068c578.zip
bug fixes
Diffstat (limited to 'common/src')
-rw-r--r--common/src/main/java/de/hype/bbsentials/common/communication/BBsentialConnection.java2
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 {