Audit-1 review : fix stale '6 ticks' comment + track NONE_MASK null

Reviewer flagged two MEDIUM cosmetic items :
- SMELL-001 : TiedUpAnimationRegistry:97 comment still said '6 ticks' —
  updated to '0.15s = 3 ticks' to match the new constant.
- SMELL-002 : JointMaskReloadListener.getNoneMask() can still return
  null if a resource pack omits tiedup:none. Call sites tolerate null
  today; logged in PHASE0_DEGRADATIONS for a Phase 3 fallback JSON +
  warn log.
This commit is contained in:
notevil
2026-04-23 04:46:22 +02:00
parent f4aae9adb7
commit 647894508d

View File

@@ -94,7 +94,7 @@ public final class TiedUpAnimationRegistry {
}
try {
// transitionTime=GENERAL (6 ticks) + isRepeat=true + registryName +
// transitionTime=GENERAL (0.15s = 3 ticks) + isRepeat=true + registryName +
// armature=BIPED. L'ordre match le ctor DirectStaticAnimation(float, boolean, ResourceLocation, AssetAccessor).
CONTEXT_STAND_IDLE = new DirectStaticAnimation(
TiedUpRigConstants.GENERAL_ANIMATION_TRANSITION_TIME,