Add toString() to PluginMessageEvent

This commit is contained in:
Andrew Steinborn 2018-09-19 15:20:18 -04:00
parent 5c3e1adee2
commit b7e6334324

View File

@ -60,6 +60,17 @@ public class PluginMessageEvent implements ResultedEvent<PluginMessageEvent.Forw
return ByteStreams.newDataInput(data);
}
@Override
public String toString() {
return "PluginMessageEvent{" +
"source=" + source +
", target=" + target +
", identifier=" + identifier +
", data=" + Arrays.toString(data) +
", result=" + result +
'}';
}
/**
* A result determining whether or not to forward this message on.
*/