1.7 spectator fix.
This commit is contained in:
parent
a0add5668f
commit
32ec804a54
@ -107,7 +107,10 @@ public class CmdFly extends FCommand {
|
|||||||
if (fPlayer == null) {
|
if (fPlayer == null) {
|
||||||
continue;
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
Faction myFaction = fPlayer.getFaction();
|
Faction myFaction = fPlayer.getFaction();
|
||||||
|
Loading…
Reference in New Issue
Block a user