Skip to content

Commit

Permalink
add legacy attribute system deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Mar 30, 2021
1 parent 41d0bfc commit dae2d0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Expand Up @@ -50,8 +50,7 @@ public FlagCommand() {
// Any supported object type, including the 'server' base tag, can use the tags
// <@link tag FlaggableObject.flag>, <@link tag FlaggableObject.has_flag>, <@link tag FlaggableObject.flag_expiration>, <@link tag FlaggableObject.list_flags>.
//
// Additionally, flags be searched for with tags like <@link tag server.online_players_flagged>, <@link tag server.players_flagged>, <@link tag server.spawned_npcs_flagged>,
// <@link tag server.npcs_flagged>, <@link tag InventoryTag.contains.flagged>, <@link tag InventoryTag.quantity.flagged>, ...
// Additionally, flags be searched for with tags like <@link tag server.online_players_flagged>, <@link tag server.players_flagged>, <@link tag server.spawned_npcs_flagged>, <@link tag server.npcs_flagged>, ...
// Flags can also be required by script event lines, as explained at <@link language Script Event Switches>.
// Item flags can also be used as a requirement in <@link command take>.
//
Expand Down
Expand Up @@ -254,6 +254,9 @@ public class Deprecations {
public static Warning inventoryNonMatcherTags = new FutureWarning("The 'InventoryTag' tags 'contains', 'quantity', 'find' with raw items are deprecated and replaced by 'contains_item', 'quantity_item', 'find_item' that use advanced matcher logic.");
public static Warning takeRawItems = new FutureWarning("The 'take' command's ability to remove raw items, and the 'material' and 'scriptname' options are deprecated: use the 'item:<matcher>' option.");

// In Bukkit impl, Added 2021/03/29, deprecate officially by 2023.
public static Warning legacyAttributeProperties = new FutureWarning("The 'attribute' properties are deprecated in favor of the 'attribute_modifiers' properties which more fully implement the attribute system.");

// ==================== 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 dae2d0d

Please sign in to comment.