Skip to content

Commit 51efb9d

Browse files
author
games647
committed
Extract username for protocollib packets
1 parent 1a56741 commit 51efb9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bukkit/src/main/java/com/github/games647/fastlogin/bukkit/listener/protocollib/ProtocolLibListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public void onPacketReceiving(PacketEvent packetEvent) {
114114
Player sender = packetEvent.getPlayer();
115115
PacketType packetType = getOverriddenType(packetEvent.getPacketType());
116116

117-
plugin.getLog().info("New packet {} from {}", packetType, sender);
117+
plugin.getLog().info("New incoming packet {} from {}", packetType, sender.getName());
118118
try {
119119
if (packetType == START) {
120120
if (plugin.getFloodgateService() != null) {

0 commit comments

Comments
 (0)