Skip to content

Commit

Permalink
make also a part 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Hydroxycobalamin committed Jan 4, 2025
1 parent 151c7f1 commit 2446ee6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ else if (particleEffect != null) {
MapTag dataMap = MapTag.valueOf(special_data.asString(), scriptEntry.getContext());
if (dataMap == null) {
ListTag dataList = ListTag.valueOf(special_data.asString(), scriptEntry.getContext());
BukkitImplDeprecations.playEffectListInput.warn(scriptEntry.getContext());
BukkitImplDeprecations.playEffectSpecialDataListInput.warn(scriptEntry.getContext());
if (clazz == Particle.DustOptions.class) {
if (dataList.size() != 2) {
Debug.echoError("DustOptions special_data must have 2 list entries for particle: " + particleEffect.name());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,8 @@ public class BukkitImplDeprecations {
public static Warning oldSpigotNames = new FutureWarning("oldSpigotNames", "Several features (particles, entities, etc.) had alternative naming added by Spigot, which are now deprecated in favor of the official Minecraft naming; see relevant feature's meta docs for more information.");

// Added 2025/01/04
public static Warning playEffectListInput = new FutureWarning("playEffectListInput", "List input in playeffect command's special_data argument is now deprecated. Please use a MapTag instead.");
public static Warning playEffectSpecialDataListInput = new FutureWarning("playEffectSpecialDataListInput", "List input for the special_data argument in playeffect command is now deprecated. Please use a MapTag instead.");

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

// Removed upstream 2023/10/29 without warning.
Expand Down

0 comments on commit 2446ee6

Please sign in to comment.