Skip to content

Commit

Permalink
deprecate npctag.has_script and entitytag.scriptname
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Feb 25, 2021
1 parent 189a46f commit 01f40bf
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -238,7 +238,7 @@ public class Deprecations {
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("The ItemTag.scriptname and .has_script tags are deprecated: use '.script.name' or a null check on .script.");
public static Warning hasScriptTags = new FutureWarning("The ItemTag.scriptname and EntityTag.scriptname and ItemTag.has_script and NPCTag.has_script tags are deprecated: use '.script.name' or a null check on .script.");

// Added 2021/02/04, deprecate official by 2024.
public static Warning splitNewDataAction = new FutureWarning("The 'split to new list' data action ('key:!|:value') is deprecated: this no longer has a purpose, as you can instead just set to the list.");
Expand Down

0 comments on commit 01f40bf

Please sign in to comment.