fly speed changes finished
This commit is contained in:
@@ -500,6 +500,9 @@ public abstract class AbstractCharacter extends AbstractWorldObject {
|
|||||||
if (bonus != null && !bonus.getBool(ModType.NoMod, SourceType.Fly) && bonus.getBool(ModType.Fly, SourceType.None) && flyer.isAlive()) {
|
if (bonus != null && !bonus.getBool(ModType.NoMod, SourceType.Fly) && bonus.getBool(ModType.Fly, SourceType.None) && flyer.isAlive()) {
|
||||||
canFly = true;
|
canFly = true;
|
||||||
}
|
}
|
||||||
|
if(flyer.effects.containsKey("MoveBuff")){
|
||||||
|
canFly = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
return canFly;
|
return canFly;
|
||||||
|
|||||||
Reference in New Issue
Block a user