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 a19bc9c1e9..2d7d1b6abe 100644 --- a/plugin/src/main/java/com/denizenscript/denizen/utilities/BukkitImplDeprecations.java +++ b/plugin/src/main/java/com/denizenscript/denizen/utilities/BukkitImplDeprecations.java @@ -117,6 +117,9 @@ public class BukkitImplDeprecations { // Added 2021/05/05, made current 2022/12/31, made strong 2024/01/02. public static Warning locationDistanceTag = new StrongWarning("locationDistanceTag", "locationtag.tree_distance is deprecated in favor of location.material.distance"); + // Added 2024/02/10. + public static Warning fakePlayer = new StrongWarning("fakePlayer", "The 'fake_player' entity was an experiment that was always redundant due to the availability of Citizens NPCs. If you use 'fake_player' please let us know on Discord ASAP."); + // ==================== Normal deprecations ==================== // These show up every time, and should get the server owner's attention quickly if they check their logs. diff --git a/v1_20/src/main/java/com/denizenscript/denizen/nms/v1_20/helpers/CustomEntityHelperImpl.java b/v1_20/src/main/java/com/denizenscript/denizen/nms/v1_20/helpers/CustomEntityHelperImpl.java index cc133628fd..826bd8dfd2 100644 --- a/v1_20/src/main/java/com/denizenscript/denizen/nms/v1_20/helpers/CustomEntityHelperImpl.java +++ b/v1_20/src/main/java/com/denizenscript/denizen/nms/v1_20/helpers/CustomEntityHelperImpl.java @@ -11,6 +11,7 @@ import com.denizenscript.denizen.nms.v1_20.impl.entities.EntityFakeArrowImpl; import com.denizenscript.denizen.nms.v1_20.impl.entities.EntityFakePlayerImpl; import com.denizenscript.denizen.nms.v1_20.impl.entities.EntityItemProjectileImpl; +import com.denizenscript.denizen.utilities.BukkitImplDeprecations; import com.denizenscript.denizencore.utilities.CoreUtilities; import com.denizenscript.denizencore.utilities.debugging.Debug; import com.mojang.authlib.GameProfile; @@ -47,6 +48,7 @@ public ItemProjectile spawnItemProjectile(Location location, ItemStack itemStack } public FakePlayer spawnFakePlayer(Location location, String name, String skin, String blob, boolean doAdd) throws IllegalArgumentException { + BukkitImplDeprecations.fakePlayer.warn(); String fullName = name; String prefix = null; String suffix = null;