Noted a possible npe
This commit is contained in:
parent
92bddb0f9a
commit
dfb36a9e43
@ -264,7 +264,7 @@ public class FactionsPlayerListener extends PlayerListener
|
|||||||
public void onPlayerRespawn(PlayerRespawnEvent event)
|
public void onPlayerRespawn(PlayerRespawnEvent event)
|
||||||
{
|
{
|
||||||
FPlayer me = FPlayers.i.get(event.getPlayer());
|
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
|
if
|
||||||
(
|
(
|
||||||
Conf.homesEnabled
|
Conf.homesEnabled
|
||||||
|
Loading…
Reference in New Issue
Block a user