diff --git a/src/com/massivecraft/factions/FPlayers.java b/src/com/massivecraft/factions/FPlayers.java index d9a160d1..b33c699d 100644 --- a/src/com/massivecraft/factions/FPlayers.java +++ b/src/com/massivecraft/factions/FPlayers.java @@ -70,7 +70,7 @@ public class FPlayers extends PlayerEntityCollection fplayer.getFaction().promoteNewLeader(); fplayer.leave(false); - fplayer.markForDeletion(true); + fplayer.detach(); } } } diff --git a/src/com/massivecraft/factions/listeners/FactionsPlayerListener.java b/src/com/massivecraft/factions/listeners/FactionsPlayerListener.java index 72ba991a..95ef01ca 100644 --- a/src/com/massivecraft/factions/listeners/FactionsPlayerListener.java +++ b/src/com/massivecraft/factions/listeners/FactionsPlayerListener.java @@ -625,7 +625,7 @@ public class FactionsPlayerListener extends PlayerListener badGuy.getFaction().promoteNewLeader(); badGuy.leave(false); - badGuy.markForDeletion(true); + badGuy.detach(); } } }