Skip to content

Commit

Permalink
add deprecation for item.scriptname and has_script
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Feb 3, 2021
1 parent 6333745 commit 1f99321
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,9 @@ public class Deprecations {
// In Bukkit impl, Added 2020/12/25, deprecate official by 2022.
public static Warning itemEnchantmentTags = new FutureWarning(pointlessSubtagPrefix + "The ItemTag.enchantments.* tags are deprecated: use enchantment_map and relevant MapTag subtags.");

// In Bukkit impl, Added 2021/02/03, deprecate official by 2023.
public static Warning itemScriptNameTags = new FutureWarning(pointlessSubtagPrefix + "The ItemTag.scriptname and .has_script tags are deprecated: use '.script.name' or a null check on .script.");

// ==================== PAST deprecations of things that are already gone but still have a warning left behind ====================

// In Bukkit impl, Added on 2019/10/13
Expand Down

0 comments on commit 1f99321

Please sign in to comment.