From 97799a3ec0a5c161b5d7c1289fc776c05ddf6801 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Mon, 17 Jun 2024 19:44:09 +1000 Subject: [PATCH] SPIGOT-7771: Material.getDefaultAttributes always returns an empty map By: md_5 --- paper-api/src/main/java/org/bukkit/UnsafeValues.java | 1 + 1 file changed, 1 insertion(+) diff --git a/paper-api/src/main/java/org/bukkit/UnsafeValues.java b/paper-api/src/main/java/org/bukkit/UnsafeValues.java index ce9bb54a6..96014f53f 100644 --- a/paper-api/src/main/java/org/bukkit/UnsafeValues.java +++ b/paper-api/src/main/java/org/bukkit/UnsafeValues.java @@ -82,6 +82,7 @@ public interface UnsafeValues { */ boolean removeAdvancement(NamespacedKey key); + @Deprecated(since = "1.21", forRemoval = true) Multimap getDefaultAttributeModifiers(Material material, EquipmentSlot slot); CreativeCategory getCreativeCategory(Material material);