From 5c986109f889f9ff97c51596c78ac1223ce924eb Mon Sep 17 00:00:00 2001 From: Brettflan Date: Thu, 26 Jan 2012 22:19:12 -0600 Subject: [PATCH] (patrickfreed) Fixed NPE in LWCFeatures Fixed problem described here: http://forums.bukkit.org/threads/sec-fun-factions-1-6-3-guilds-war-and-user-controlled-antigrief-1-1-r1.19063/page-83#post-928744 --- src/com/massivecraft/factions/integration/LWCFeatures.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/massivecraft/factions/integration/LWCFeatures.java b/src/com/massivecraft/factions/integration/LWCFeatures.java index 837b7094..9cacb807 100644 --- a/src/com/massivecraft/factions/integration/LWCFeatures.java +++ b/src/com/massivecraft/factions/integration/LWCFeatures.java @@ -49,7 +49,7 @@ public class LWCFeatures { if(lwc.findProtection(chests.get(x)) != null) { - if(!faction.getFPlayers().contains(FPlayers.i.get(lwc.findProtection(chests.get(x)).getBukkitOwner()))) + if(!faction.getFPlayers().contains(FPlayers.i.get(lwc.findProtection(chests.get(x)).getOwner()))) lwc.findProtection(chests.get(x)).remove(); } }