From d54b610e02e1e44639d4cc1de558b36808a142be Mon Sep 17 00:00:00 2001 From: Trent Hensler Date: Tue, 20 Mar 2018 21:04:24 -0700 Subject: [PATCH] Disable flying on leave or disband --- .../com/massivecraft/factions/zcore/persist/MemoryFPlayer.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFPlayer.java b/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFPlayer.java index 05fb2dd3..fc496d6f 100644 --- a/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFPlayer.java +++ b/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFPlayer.java @@ -703,6 +703,7 @@ public abstract class MemoryFPlayer implements FPlayer { myFaction.removeAnnouncements(this); this.resetFactionData(); + setFFlying(false, false); if (myFaction.isNormal() && !perm && myFaction.getFPlayers().isEmpty()) { // Remove this faction