Fix empty names leaving old names behind

This commit is contained in:
libraryaddict 2020-08-11 09:00:35 +12:00
parent 9166120071
commit baed87bc78

View File

@ -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;
}