Cosmetica-cc / Cosmetica

Custom public cosmetics, Free for everyone. Forever. Ongoing Development is happening at Cosmetica-2, still WIP
https://cosmetica.cc
Apache License 2.0
54 stars 14 forks source link

Cosmetica settings bugged when using In-game Account Switcher #102

Closed JuniorWolfgamingDE closed 11 months ago

JuniorWolfgamingDE commented 1 year ago

Describe the bug This bug makes cosmetics not show up on the player correctly when using the In-Game Account Switcher modification.

To Reproduce

  1. Go to "In-Game Account Switcher" in Main Menu
  2. Log in to other account
  3. Go back and open Cosmetica settings
  4. Cosmetics will now be displayed by the old player and / or cosmetics will be set to the old player when setting new cosmetics.

Expected behavior Cosmetics should be displayed by the currently logged in player and should be set for this player.

Screenshots If applicable, add screenshots to help explain your problem.

Setup (please complete the following information):

Additional info/context This issue also applies to the Fabric version and is NOT an Quilt-only problem. https://modrinth.com/mod/in-game-account-switcher required to reproduce.

valoeghese commented 11 months ago

I added some code for 1.2.6 that should make it detect account switches after a bit. That version isn't out yet though

valoeghese commented 11 months ago

Let us know on the discord if there are any further issues