Try to get the local player object if possible.

This commit is contained in:
Kristian S. Stangeland 2012-09-25 23:10:08 +02:00
parent e0c03186c3
commit d8b300e3a6

View File

@ -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();
} }
} }
} }