9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-19 15:09:19 +00:00

expose getting cosmetic user provider

This commit is contained in:
Tech
2025-01-22 17:21:58 -05:00
parent 64a590b581
commit cf0da580e0

View File

@@ -158,6 +158,15 @@ public final class HMCCosmeticsAPI {
CosmeticUsers.registerProvider(provider);
}
/**
* Fetch the current {@link CosmeticUserProvider} that is in use.
*
* @return the {@link CosmeticUserProvider}
*/
public static CosmeticUserProvider getCosmeticUserProvider() {
return CosmeticUsers.getProvider();
}
/**
* Retrieves the NMS version of the server as recognized by HMCCosmetics.
*