aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/cosmetics/chatreplacers
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/cosmetics/chatreplacers')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/cosmetics/chatreplacers/ChatReplacerViewProfile.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/cosmetics/chatreplacers/ChatReplacerViewProfile.java b/src/main/java/kr/syeyoung/dungeonsguide/cosmetics/chatreplacers/ChatReplacerViewProfile.java
index abd399e3..51787951 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/cosmetics/chatreplacers/ChatReplacerViewProfile.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/cosmetics/chatreplacers/ChatReplacerViewProfile.java
@@ -35,7 +35,6 @@ import java.util.UUID;
public class ChatReplacerViewProfile implements IChatReplacer {
@Override
public boolean isAcceptable(ClientChatReceivedEvent event) {
- System.out.println(event.message);
for (IChatComponent sibling : event.message.getSiblings()) {
if (sibling.getChatStyle() != null && sibling.getChatStyle().getChatClickEvent() != null && sibling.getChatStyle().getChatClickEvent().getValue().startsWith("/viewprofile")) return true;
}
@@ -112,6 +111,7 @@ public class ChatReplacerViewProfile implements IChatReplacer {
ChatComponentText newChatCompText = new ChatComponentText(building);
newChatCompText.setChatStyle(sibling.getChatStyle());
replaceMents.add(new Tuple<>(sibling, newChatCompText));
+ break;
}
}
}