не надо спамить
This commit is contained in:
parent
7f28e8be51
commit
e4a2f66b84
@ -61,7 +61,7 @@ class ConfigurableProjectile : RawPrototype<ConfigurableProjectile, ConfiguredPr
|
|||||||
|
|
||||||
if (timeToLive.isInfinite() && animationCycle.isFinite() && !animationLoops) {
|
if (timeToLive.isInfinite() && animationCycle.isFinite() && !animationLoops) {
|
||||||
timeToLive = animationCycle * (frameNumber - 1)
|
timeToLive = animationCycle * (frameNumber - 1)
|
||||||
LOGGER.warn("{} has no time to live defined, assuming it live as long as its animation plays: {}", projectileName, timeToLive)
|
// LOGGER.warn("{} has no time to live defined, assuming it live as long as its animation plays: {}", projectileName, timeToLive)
|
||||||
}
|
}
|
||||||
|
|
||||||
check(timeToLive >= 0.0) { "Invalid time to live $timeToLive" }
|
check(timeToLive >= 0.0) { "Invalid time to live $timeToLive" }
|
||||||
|
Loading…
Reference in New Issue
Block a user