From baed87bc78daaf19c234996c7344a8f8adc88124 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Tue, 11 Aug 2020 09:00:35 +1200 Subject: [PATCH] Fix empty names leaving old names behind --- .../me/libraryaddict/disguise/utilities/DisguiseUtilities.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java b/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java index 9950a2c2..5affbd8c 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java @@ -2717,7 +2717,7 @@ public class DisguiseUtilities { for (int i = 0; i < newNames.length; i++) { if (i < internalOldNames.length) { - if (newNames[i].equals(internalOldNames[i]) || newNames[i].isEmpty()) { + if (newNames[i].equals(internalOldNames[i])) { continue; }