Made F Stuck Toggleable

This commit is contained in:
Driftay
2020-03-23 16:11:54 -04:00
parent 323dce1c4f
commit 606e82c890
5 changed files with 13 additions and 2 deletions

View File

@@ -111,6 +111,7 @@ public class CmdDisband extends FCommand {
} else {
context.player.sendMessage(String.valueOf(TL.COMMAND_DISBAND_PLAYER));
}
Bukkit.broadcastMessage("Called");
faction.disband(context.player, PlayerDisbandReason.COMMAND);
if (!context.fPlayer.canFlyAtLocation() && FactionsPlugin.getInstance().getConfig().getBoolean("enable-faction-flight")) {
context.fPlayer.setFFlying(false, false);