mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2024-11-11 01:17:16 +00:00
Minor change
This commit is contained in:
parent
76f3383c16
commit
107021a572
1 changed files with 6 additions and 6 deletions
|
@ -2873,13 +2873,12 @@ public class DisguiseUtilities {
|
|||
int[] destroyIds = new int[0];
|
||||
|
||||
if (!LibsPremium.isPremium()) {
|
||||
if (internalOldNames.length > 0) {
|
||||
if (internalOldNames.length > 1) {
|
||||
internalOldNames = new String[]{StringUtils.join(internalOldNames, "\\n")};
|
||||
}
|
||||
|
||||
if (newNames.length > 0) {
|
||||
if (newNames.length > 1) {
|
||||
newNames = new String[]{StringUtils.join(newNames, "\\n")};
|
||||
}
|
||||
|
||||
if (!disguise.isPlayerDisguise() || ((PlayerDisguise) disguise).isNameVisible()) {
|
||||
if (disguise.getMultiName().length > 1) {
|
||||
|
@ -2887,6 +2886,7 @@ public class DisguiseUtilities {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (internalOldNames.length > newNames.length) {
|
||||
// Destroy packet
|
||||
|
|
Loading…
Reference in a new issue