Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Remove debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Krymonota committed Feb 7, 2020
1 parent 206f341 commit b43fbcc
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,11 @@ public Object onPacketOutAsync(Player receiver, Channel channel, Object packet)
final List<?> iChatBaseComponentList = (List<?>) iChatBaseComponentGetSiblingsMethod.invoke(iChatBaseComponent);

if (iChatBaseComponentList.isEmpty()) {
System.out.println("C: " + (String) chatBaseComponentGetTextMethod.invoke(iChatBaseComponent));
textBuilder.append((String) chatBaseComponentGetTextMethod.invoke(iChatBaseComponent));
} else {
for (Object iChatBaseComponentEntry : iChatBaseComponentList) {
final String part = (String) chatBaseComponentGetTextMethod.invoke(iChatBaseComponentEntry);
System.out.println("D: " + part);

if (part != null) {
textBuilder.append(part);
}
Expand Down

0 comments on commit b43fbcc

Please sign in to comment.