Try to get the local player object if possible.
Dieser Commit ist enthalten in:
Ursprung
e0c03186c3
Commit
d8b300e3a6
@ -145,7 +145,7 @@ public class PacketEvent extends EventObject implements Cancellable {
|
|||||||
|
|
||||||
if (offlinePlayer != null) {
|
if (offlinePlayer != null) {
|
||||||
// Better than nothing
|
// Better than nothing
|
||||||
player = offlinePlayer.getProxyPlayer();
|
player = offlinePlayer.getPlayer();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren