From dfb36a9e4352be9253c641da2e92433265688dac Mon Sep 17 00:00:00 2001 From: Olof Larsson Date: Sat, 28 Jan 2012 17:02:18 +0100 Subject: [PATCH] Noted a possible npe --- .../massivecraft/factions/listeners/FactionsPlayerListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/massivecraft/factions/listeners/FactionsPlayerListener.java b/src/com/massivecraft/factions/listeners/FactionsPlayerListener.java index 16760a7c..96ee75d8 100644 --- a/src/com/massivecraft/factions/listeners/FactionsPlayerListener.java +++ b/src/com/massivecraft/factions/listeners/FactionsPlayerListener.java @@ -264,7 +264,7 @@ public class FactionsPlayerListener extends PlayerListener public void onPlayerRespawn(PlayerRespawnEvent event) { FPlayer me = FPlayers.i.get(event.getPlayer()); - Location home = me.getFaction().getHome(); + Location home = me.getFaction().getHome(); // TODO: WARNING FOR NPE HERE THE ORIO FOR RESPAWN SHOULD BE ASSIGNABLE FROM CONFIG. if ( Conf.homesEnabled