mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-12-28 03:27:43 +01:00
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)
|
||||
{
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user