From 944dd7243b31e537a0cdcc89fea7e979053030fd Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Fri, 8 May 2020 03:00:43 +1200 Subject: [PATCH] Fix reverse not reversed --- .../me/libraryaddict/disguise/utilities/DisguiseUtilities.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java b/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java index 928e3ac7..d743f0f8 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java @@ -2295,10 +2295,9 @@ public class DisguiseUtilities { ArrayList packets = new ArrayList<>(); String[] newNames = (disguise instanceof PlayerDisguise && !((PlayerDisguise) disguise).isNameVisible()) ? new String[0] : - disguise.getMultiName(); + reverse(disguise.getMultiName()); int[] standIds = disguise.getArmorstandIds(); int[] destroyIds = new int[0]; - internalOldNames = DisguiseUtilities.reverse(internalOldNames); if (internalOldNames.length > newNames.length) { // Destroy packet