mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-11-27 20:59:16 +01:00
Merge pull request #84 from patrickfreed/master
Fixed NPE in LWCFeatures
This commit is contained in:
commit
370fd274d7
@ -49,7 +49,7 @@ public class LWCFeatures
|
|||||||
{
|
{
|
||||||
if(lwc.findProtection(chests.get(x)) != null)
|
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();
|
lwc.findProtection(chests.get(x)).remove();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user