13
0
geforkt von Mirrors/Velocity

Add toString() to PluginMessageEvent

Dieser Commit ist enthalten in:
Andrew Steinborn 2018-09-19 15:20:18 -04:00
Ursprung 5c3e1adee2
Commit b7e6334324

Datei anzeigen

@ -60,6 +60,17 @@ public class PluginMessageEvent implements ResultedEvent<PluginMessageEvent.Forw
return ByteStreams.newDataInput(data); 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. * A result determining whether or not to forward this message on.
*/ */