From cc086da1cc89507eb1a262441d9ed8680370bdc9 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Mon, 11 Nov 2024 13:44:17 +1300 Subject: [PATCH] Remove a meaningless change --- .../disguise/utilities/DisguiseUtilities.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/plugin/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java b/plugin/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java index 0cf6e1bd..442b9b51 100644 --- a/plugin/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java +++ b/plugin/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java @@ -980,10 +980,6 @@ public class DisguiseUtilities { PersistentDataContainer container = entity.getPersistentDataContainer(); String data = container.get(savedDisguisesKey, PersistentDataType.STRING); - if (data == null) { - data = container.get(oldSavedDisguisesKey, PersistentDataType.STRING); - } - if (data == null) { return getSavedDisguises(entity.getUniqueId()); } @@ -1744,8 +1740,7 @@ public class DisguiseUtilities { public static void init() { fancyHiddenTabs = NmsVersion.v1_19_R2.isSupported() && Bukkit.getPluginManager().getPlugin("ViaBackwards") == null; - oldSavedDisguisesKey = new NamespacedKey(LibsDisguises.getInstance(), "SavedDisguises"); - savedDisguisesKey = new NamespacedKey(LibsDisguises.getInstance(), "saved_disguises"); + savedDisguisesKey = new NamespacedKey(LibsDisguises.getInstance(), "SavedDisguises"); selfDisguiseScaleNamespace = new NamespacedKey(LibsDisguises.getInstance(), "Self_Disguise_Scaling"); debuggingMode = LibsDisguises.getInstance().isDebuggingBuild();