unclaim fly fix
This commit is contained in:
parent
6372245fcd
commit
b7d991c0dd
@ -63,6 +63,11 @@ public class CmdUnclaim extends FCommand {
|
||||
boolean didUnClaim = unClaim(new FLocation(context.player), context);
|
||||
if (didUnClaim && !context.fPlayer.canFlyAtLocation())
|
||||
context.fPlayer.setFFlying(false, false);
|
||||
|
||||
for(FPlayer fPlayer : context.faction.getFPlayersWhereOnline(true)){
|
||||
if(!fPlayer.canFlyAtLocation())
|
||||
fPlayer.setFFlying(false, false);
|
||||
}
|
||||
} else {
|
||||
// radius claim
|
||||
if (!Permission.CLAIM_RADIUS.has(context.sender, false)) {
|
||||
|
Loading…
Reference in New Issue
Block a user