From e5ff895f0b3f40690093a39ca27b874ea623e73b Mon Sep 17 00:00:00 2001 From: OmniCypher Date: Tue, 29 Dec 2015 00:37:25 -0800 Subject: [PATCH] Fixed getBP NPE and hopefully player lookup error --- src/com/projectkorra/projectkorra/GeneralMethods.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/projectkorra/projectkorra/GeneralMethods.java b/src/com/projectkorra/projectkorra/GeneralMethods.java index 92cb57e7..3e412509 100644 --- a/src/com/projectkorra/projectkorra/GeneralMethods.java +++ b/src/com/projectkorra/projectkorra/GeneralMethods.java @@ -830,7 +830,7 @@ public class GeneralMethods { * @see #getBendingPlayer(UUID) */ public static BendingPlayer getBendingPlayer(String player) { - OfflinePlayer oPlayer = Bukkit.getPlayer(player); + OfflinePlayer oPlayer = Bukkit.getOfflinePlayer(player); if (player == null) { oPlayer = Bukkit.getOfflinePlayer(oPlayer.getUniqueId()); }