9
0
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:
LoJoSho
2023-08-22 23:28:21 -05:00
parent e2a727864e
commit 7f4a1bc3f2

View File

@@ -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();