mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2025-01-23 21:52:34 +01:00
Remove a meaningless change
This commit is contained in:
parent
dee5ea0c8d
commit
cc086da1cc
@ -980,10 +980,6 @@ public class DisguiseUtilities {
|
|||||||
PersistentDataContainer container = entity.getPersistentDataContainer();
|
PersistentDataContainer container = entity.getPersistentDataContainer();
|
||||||
String data = container.get(savedDisguisesKey, PersistentDataType.STRING);
|
String data = container.get(savedDisguisesKey, PersistentDataType.STRING);
|
||||||
|
|
||||||
if (data == null) {
|
|
||||||
data = container.get(oldSavedDisguisesKey, PersistentDataType.STRING);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (data == null) {
|
if (data == null) {
|
||||||
return getSavedDisguises(entity.getUniqueId());
|
return getSavedDisguises(entity.getUniqueId());
|
||||||
}
|
}
|
||||||
@ -1744,8 +1740,7 @@ public class DisguiseUtilities {
|
|||||||
|
|
||||||
public static void init() {
|
public static void init() {
|
||||||
fancyHiddenTabs = NmsVersion.v1_19_R2.isSupported() && Bukkit.getPluginManager().getPlugin("ViaBackwards") == null;
|
fancyHiddenTabs = NmsVersion.v1_19_R2.isSupported() && Bukkit.getPluginManager().getPlugin("ViaBackwards") == null;
|
||||||
oldSavedDisguisesKey = new NamespacedKey(LibsDisguises.getInstance(), "SavedDisguises");
|
savedDisguisesKey = new NamespacedKey(LibsDisguises.getInstance(), "SavedDisguises");
|
||||||
savedDisguisesKey = new NamespacedKey(LibsDisguises.getInstance(), "saved_disguises");
|
|
||||||
selfDisguiseScaleNamespace = new NamespacedKey(LibsDisguises.getInstance(), "Self_Disguise_Scaling");
|
selfDisguiseScaleNamespace = new NamespacedKey(LibsDisguises.getInstance(), "Self_Disguise_Scaling");
|
||||||
debuggingMode = LibsDisguises.getInstance().isDebuggingBuild();
|
debuggingMode = LibsDisguises.getInstance().isDebuggingBuild();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user