Minor change

This commit is contained in:
libraryaddict 2020-10-10 07:36:09 +13:00
parent 76f3383c16
commit 107021a572

View File

@ -2873,17 +2873,17 @@ 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) {
getLogger().info("Multiline names is a premium feature, sorry!");
if (!disguise.isPlayerDisguise() || ((PlayerDisguise) disguise).isNameVisible()) {
if (disguise.getMultiName().length > 1) {
getLogger().info("Multiline names is a premium feature, sorry!");
}
}
}
}