Fix vanish integration in fly
This commit is contained in:
parent
7dd071340f
commit
8b08c4f72a
2
pom.xml
2
pom.xml
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<groupId>com.massivecraft</groupId>
|
<groupId>com.massivecraft</groupId>
|
||||||
<artifactId>Factions</artifactId>
|
<artifactId>Factions</artifactId>
|
||||||
<version>1.6.9.5-U0.2.1-1.2-STABLE</version>
|
<version>1.6.9.5-U0.2.1-1.3-BETA</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>SavageFactionsPlus</name>
|
<name>SavageFactionsPlus</name>
|
||||||
|
@ -74,7 +74,6 @@ public class CmdClaim extends FCommand {
|
|||||||
this.stop();
|
this.stop();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -1109,6 +1109,7 @@ public abstract class MemoryFPlayer implements FPlayer {
|
|||||||
if (efplayer == null) {
|
if (efplayer == null) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (efplayer.isVanished()) continue;
|
||||||
if (this.getRelationTo(efplayer).equals(Relation.ENEMY) && !efplayer.isStealthEnabled()) {
|
if (this.getRelationTo(efplayer).equals(Relation.ENEMY) && !efplayer.isStealthEnabled()) {
|
||||||
setFlying(false);
|
setFlying(false);
|
||||||
msg(TL.COMMAND_FLY_ENEMY_NEAR);
|
msg(TL.COMMAND_FLY_ENEMY_NEAR);
|
||||||
|
@ -1092,7 +1092,7 @@ fupgrades:
|
|||||||
Amount: 1
|
Amount: 1
|
||||||
Damage: 0
|
Damage: 0
|
||||||
Lore:
|
Lore:
|
||||||
- '&7Increased faction member limit.'
|
- '&7Increase faction member limit.'
|
||||||
- ''
|
- ''
|
||||||
- '&e&lTier'
|
- '&e&lTier'
|
||||||
- '&f&l* &7Current Level: &3{level}/3'
|
- '&f&l* &7Current Level: &3{level}/3'
|
||||||
|
Loading…
Reference in New Issue
Block a user