mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-12 12:00:59 +00:00
Fix reverse not reversed
This commit is contained in:
parent
f40492b2e7
commit
944dd7243b
1 changed files with 1 additions and 2 deletions
|
@ -2295,10 +2295,9 @@ public class DisguiseUtilities {
|
||||||
ArrayList<PacketContainer> packets = new ArrayList<>();
|
ArrayList<PacketContainer> packets = new ArrayList<>();
|
||||||
String[] newNames =
|
String[] newNames =
|
||||||
(disguise instanceof PlayerDisguise && !((PlayerDisguise) disguise).isNameVisible()) ? new String[0] :
|
(disguise instanceof PlayerDisguise && !((PlayerDisguise) disguise).isNameVisible()) ? new String[0] :
|
||||||
disguise.getMultiName();
|
reverse(disguise.getMultiName());
|
||||||
int[] standIds = disguise.getArmorstandIds();
|
int[] standIds = disguise.getArmorstandIds();
|
||||||
int[] destroyIds = new int[0];
|
int[] destroyIds = new int[0];
|
||||||
internalOldNames = DisguiseUtilities.reverse(internalOldNames);
|
|
||||||
|
|
||||||
if (internalOldNames.length > newNames.length) {
|
if (internalOldNames.length > newNames.length) {
|
||||||
// Destroy packet
|
// Destroy packet
|
||||||
|
|
Loading…
Reference in a new issue