Skip to content

Allow to see and use legacy cosmetics#34

Open
Hussein-Playz wants to merge 1 commit intoprometheusreengineering:mainfrom
Hussein-Playz:legacy-cosmetics
Open

Allow to see and use legacy cosmetics#34
Hussein-Playz wants to merge 1 commit intoprometheusreengineering:mainfrom
Hussein-Playz:legacy-cosmetics

Conversation

@Hussein-Playz
Copy link

Previously when using prometheus you could not see legacy cosmetics in the wardrobe and if you could they weren't free
so i did some changes to allow you to see legacy cosmetics (not all of them tho) and make it so they're also free :D

@Shadow
private MutableState<Boolean> cosmeticsLoaded;

@Inject(method = "tick", at = @At("RETURN"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks to me like it runs on the client tick loop

Probably not the best for performance

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sadly we're forced to for whatever reason elgacy cosmetics arent free unless u do that

@Mixin(value = ExtensionsKt.class, remap = false)
public class MixinExtensionsKt {

@Inject(method = "isAvailable", at = @At("HEAD"), cancellable = true)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@overwrite please

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kay

}
}

//https://github.com/EssentialGG/EssentialLoader/blob/master/stage2/fabric/src/main/java/gg/essential/loader/stage2/EssentialLoader.java#L180
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't reformat files without other changes (git reset/git revert them)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How was that reformatted lol? probably windows

@dxxxxy dxxxxy self-requested a review March 23, 2026 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants