mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-12-05 00:23:22 +01:00
Disable flying on leave or disband
This commit is contained in:
parent
9520a1508b
commit
d54b610e02
@ -703,6 +703,7 @@ public abstract class MemoryFPlayer implements FPlayer {
|
|||||||
|
|
||||||
myFaction.removeAnnouncements(this);
|
myFaction.removeAnnouncements(this);
|
||||||
this.resetFactionData();
|
this.resetFactionData();
|
||||||
|
setFFlying(false, false);
|
||||||
|
|
||||||
if (myFaction.isNormal() && !perm && myFaction.getFPlayers().isEmpty()) {
|
if (myFaction.isNormal() && !perm && myFaction.getFPlayers().isEmpty()) {
|
||||||
// Remove this faction
|
// Remove this faction
|
||||||
|
Loading…
Reference in New Issue
Block a user