Uppercase enum.
This commit is contained in:
@@ -515,7 +515,7 @@ public abstract class AbstractCharacter extends AbstractWorldObject {
|
||||
boolean canFly = false;
|
||||
PlayerBonuses bonus = flyer.getBonuses();
|
||||
|
||||
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;
|
||||
|
||||
return canFly;
|
||||
|
||||
Reference in New Issue
Block a user