Skip to content

Commit 20bcee6

Browse files
committed
Add some missing suppresswarning annotations
1 parent 31c848c commit 20bcee6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CompatibilityLib/base/src/main/java/com/elmakers/mine/bukkit/utility/platform/base/InventoryUtilsBase.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ public void applyAttributes(ItemStack item, ConfigurationSection attributeConfig
279279
}
280280

281281
@Override
282+
@SuppressWarnings("deprecation")
282283
public void applyEnchantments(ItemStack item, ConfigurationSection enchantConfig) {
283284
if (item == null) return;
284285

@@ -306,6 +307,7 @@ public void applyEnchantments(ItemStack item, ConfigurationSection enchantConfig
306307
}
307308

308309
@Override
310+
@SuppressWarnings("deprecation")
309311
public boolean addEnchantments(ItemStack item, ConfigurationSection enchantConfig) {
310312
if (item == null) return false;
311313
ItemMeta meta = item.getItemMeta();

0 commit comments

Comments
 (0)