Animated-Java / animated-java

A Blockbench plugin that makes complex animation a breeze in Minecraft: Java Edition.
Other
159 stars 26 forks source link

[BUG] Command Keyframes are executed twice if they are at the start of an animation #209

Closed LeCarbonator closed 3 months ago

LeCarbonator commented 3 months ago

Describe the bug If a command keyframe is set to the very beginning of an animation, it will be executed twice when the animation is played. In case of sound commands, this causes noticeable issues as the sounds are 1 tick apart and duplicated.

To Reproduce

  1. Create an animation with a locator
  2. Set a command at the start
  3. Export and play the animation in-game
  4. The command will be executed twice

Expected behavior The command should only be executed once.