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

refactor(HMCCosmeticsAPI): private constructor on HMCCosmeticsAPI

This commit is contained in:
Craftinators
2025-01-22 00:07:38 -05:00
parent 6fe5817fd7
commit 8f2a01b348

View File

@@ -20,7 +20,10 @@ import java.util.UUID;
/**
* The main API class for HMCCosmetics. This class provides methods to interact with the plugin.
*/
public class HMCCosmeticsAPI {
public final class HMCCosmeticsAPI {
private HMCCosmeticsAPI() {
throw new UnsupportedOperationException("This class cannot be instantiated.");
}
/**
* Retrieves a {@link Cosmetic} associated with the specified id.