1.7 spectator fix.

This commit is contained in:
ProSavage 2018-10-26 15:10:50 -05:00
parent a0add5668f
commit 32ec804a54

View File

@ -107,7 +107,10 @@ public class CmdFly extends FCommand {
if (fPlayer == null) {
continue;
}
if (player.getGameMode() == GameMode.CREATIVE || player.getGameMode() == GameMode.SPECTATOR) {
if (player.getGameMode() == GameMode.CREATIVE) {
continue;
}
if (! SavageFactions.plugin.mc17 && player.getGameMode() == GameMode.SPECTATOR) {
continue;
}
Faction myFaction = fPlayer.getFaction();