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:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user