From b5121db88699fa8ec252e4cb8238dc03e0f33593 Mon Sep 17 00:00:00 2001 From: Cory Ory Date: Mon, 18 Jul 2016 13:33:48 +1000 Subject: [PATCH] Exclude data from PluginMessageEvent.toString --- .../main/java/net/md_5/bungee/api/event/PluginMessageEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/java/net/md_5/bungee/api/event/PluginMessageEvent.java b/api/src/main/java/net/md_5/bungee/api/event/PluginMessageEvent.java index 45378391..a5bb3ebb 100644 --- a/api/src/main/java/net/md_5/bungee/api/event/PluginMessageEvent.java +++ b/api/src/main/java/net/md_5/bungee/api/event/PluginMessageEvent.java @@ -10,7 +10,7 @@ import net.md_5.bungee.api.plugin.Cancellable; * Event called when a plugin message is sent to the client or server. */ @Data -@ToString(callSuper = true) +@ToString(callSuper = true, exclude = "data") @EqualsAndHashCode(callSuper = true) public class PluginMessageEvent extends TargetedEvent implements Cancellable {