diff --git a/Spigot-API-Patches/Add-Material-Tags.patch b/Spigot-API-Patches/Add-Material-Tags.patch index 2bf9f9aeda..f4c51115a5 100644 --- a/Spigot-API-Patches/Add-Material-Tags.patch +++ b/Spigot-API-Patches/Add-Material-Tags.patch @@ -717,6 +717,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + public BaseTag(@NotNull Class clazz, @NotNull NamespacedKey key, @NotNull Collection values, @NotNull Predicate... globalPredicates) { + this.key = key != null ? key : NamespacedKey.randomKey(); + this.tagged = clazz.isEnum() ? createEnumSet(clazz) : new HashSet<>(); ++ this.tagged.addAll(values); + this.globalPredicates = Lists.newArrayList(globalPredicates); + } +