Fix the syntax of the packet debug message.
Dieser Commit ist enthalten in:
Ursprung
0108c3390e
Commit
5e6a6f6a95
@ -4,7 +4,7 @@
|
||||
<groupId>com.comphenix.protocol</groupId>
|
||||
<artifactId>ProtocolLib</artifactId>
|
||||
<name>ProtocolLib</name>
|
||||
<version>1.5.1</version>
|
||||
<version>1.5.2-SNAPSHOT</version>
|
||||
<description>Provides read/write access to the Minecraft protocol.</description>
|
||||
<url>http://dev.bukkit.org/server-mods/protocollib/</url>
|
||||
<developers>
|
||||
|
@ -377,10 +377,10 @@ class CommandPacket extends CommandBase {
|
||||
}
|
||||
|
||||
private void printInformation(PacketEvent event) {
|
||||
String verb = side.isForClient() ? "Received" : "Sent";
|
||||
String shortDescription = String.format(
|
||||
"%s %s (%s) from %s",
|
||||
verb,
|
||||
String format = side.isForClient() ?
|
||||
"Received %s (%s) from %s" :
|
||||
"Sent %s (%s) to %s";
|
||||
String shortDescription = String.format(format,
|
||||
Packets.getDeclaredName(event.getPacketID()),
|
||||
event.getPacketID(),
|
||||
event.getPlayer().getName()
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren