Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-12-24 23:30:26 +01:00
Add toString() to PluginMessageEvent
Dieser Commit ist enthalten in:
Ursprung
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.
|
||||||
*/
|
*/
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren