Fix reverse not reversed
This commit is contained in:
parent
f40492b2e7
commit
944dd7243b
@ -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 New Issue
Block a user