diff --git a/src/main/java/me/libraryaddict/disguise/utilities/listeners/DisguiseListener.java b/src/main/java/me/libraryaddict/disguise/utilities/listeners/DisguiseListener.java index 3b092b3c..971365ef 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/listeners/DisguiseListener.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/listeners/DisguiseListener.java @@ -20,7 +20,6 @@ import me.libraryaddict.disguise.utilities.LibsEntityInteract; import me.libraryaddict.disguise.utilities.LibsPremium; import me.libraryaddict.disguise.utilities.modded.ModdedEntity; import me.libraryaddict.disguise.utilities.modded.ModdedManager; -import me.libraryaddict.disguise.utilities.reflection.NmsVersion; import me.libraryaddict.disguise.utilities.reflection.ReflectionManager; import me.libraryaddict.disguise.utilities.translations.LibsMsg; import org.apache.commons.lang.StringUtils; @@ -530,7 +529,7 @@ public class DisguiseListener implements Listener { DisguiseUtilities.doBoundingBox((TargetedDisguise) disguise); } - if (!NmsVersion.v1_17.isSupported() && DisguiseConfig.isStopShulkerDisguisesFromMoving()) { + if (DisguiseConfig.isStopShulkerDisguisesFromMoving()) { Disguise disguise; if ((disguise = DisguiseAPI.getDisguise(event.getPlayer())) != null) { diff --git a/src/main/resources/configs/sanity.yml b/src/main/resources/configs/sanity.yml index 0a184e20..12dfe20f 100644 --- a/src/main/resources/configs/sanity.yml +++ b/src/main/resources/configs/sanity.yml @@ -1,7 +1,6 @@ # This config is called sanity, because you shouldn't need to change the stuff in here -# Stop shulker disguises from moving, they're weird. This option only effects PLAYERS that are disguised, other entities disguised as shulkers will NOT be effected! -# This is ignored in 1.17+ as its fixed in those versions +#Stop shulker disguises from moving, they're weird. This option only effects PLAYERS that are disguised, other entities disguised as shulkers will NOT be effected! StopShulkerDisguisesFromMoving: true # This means that the plugin doesn't need to constantly call Mojang just to find a skin for an offline player