viniciusgf2 / Ambience

Your music in minecraft
Other
15 stars 12 forks source link

[BUG] [1.16] Menu event will not play if you are tabbed out of the game when it finishes loading #57

Open Neko2n opened 3 years ago

Neko2n commented 3 years ago

Describe the bug Menu event will not play if you are tabbed out of the game when it finishes loading. Default Minecraft music still plays for the menu, and ambience will still play other songs once you load into a world.

Where playing in SinglePlayer or Multiplayer? -Neither, on the menu after the game starts up

To Reproduce Steps to reproduce the behavior:

  1. Start game with a menu song active
  2. Tab out of the game (I tabbed out to Discord)
  3. When the game finishes loading and you get to the title screen, no music will play and instead vanilla Minecraft music will begin playing

Expected behavior Menu music to still play when I tabbed back into my game; vanilla Minecraft music to not play

Screenshots N/A

Mods used or modpack (please complete the following information):

**Mod Version used: -Ambience-1.16.4-1.0.0

**Please send the followings files to help track the issue: -ambience.properties.txt -latest.log

Neko2n commented 3 years ago

Update: Seems to happen only occasionally, it was 100% reproduceable but it's stopped happening every time. Still happens, but only on occasion.