mirror of
https://github.com/HibiscusMC/HMCCosmetics.git
synced 2025-12-29 03:49:19 +00:00
clean: supress deprecated in getUserCosmeticItem
This commit is contained in:
@@ -224,6 +224,7 @@ public class CosmeticUser {
|
||||
return getUserCosmeticItem(cosmetic, item);
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public ItemStack getUserCosmeticItem(Cosmetic cosmetic, ItemStack item) {
|
||||
if (item.hasItemMeta()) {
|
||||
ItemMeta itemMeta = item.getItemMeta();
|
||||
|
||||
Reference in New Issue
Block a user