Noted a possible npe

This commit is contained in:
Olof Larsson committed 2012-01-28 17:02:18 +01:00
1 parent 92bddb0f9a
commit dfb36a9e43
1 file changed
+1 -1
@@ -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