v3.0.0: fixed crashes with bad refs in hallowed ground furrow tracker
This commit is contained in:
@@ -1909,9 +1909,9 @@ public class Hero extends Char {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (buff(HallowedGround.HallowedFurrowTracker.class) != null){
|
if (buff(HallowedGround.HallowedFurrowTracker.class) != null){
|
||||||
buff(ElementalStrike.ElementalStrikeFurrowCounter.class).countDown(percent*5f);
|
buff(HallowedGround.HallowedFurrowTracker.class).countDown(percent*5f);
|
||||||
if (buff(ElementalStrike.ElementalStrikeFurrowCounter.class).count() <= 0){
|
if (buff(HallowedGround.HallowedFurrowTracker.class).count() <= 0){
|
||||||
buff(ElementalStrike.ElementalStrikeFurrowCounter.class).detach();
|
buff(HallowedGround.HallowedFurrowTracker.class).detach();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user