mirror of
https://github.com/PaperMC/Velocity.git
synced 2024-12-09 07:01:19 +08:00
Add toString() to PluginMessageEvent
This commit is contained in:
parent
5c3e1adee2
commit
b7e6334324
@ -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.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user