diff --git a/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/world/PlayEffectCommand.java b/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/world/PlayEffectCommand.java index 70b4039279..392443750c 100644 --- a/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/world/PlayEffectCommand.java +++ b/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/world/PlayEffectCommand.java @@ -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()); diff --git a/plugin/src/main/java/com/denizenscript/denizen/utilities/BukkitImplDeprecations.java b/plugin/src/main/java/com/denizenscript/denizen/utilities/BukkitImplDeprecations.java index 3134c8c3ec..e668b4f72f 100644 --- a/plugin/src/main/java/com/denizenscript/denizen/utilities/BukkitImplDeprecations.java +++ b/plugin/src/main/java/com/denizenscript/denizen/utilities/BukkitImplDeprecations.java @@ -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.