mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-14 15:26:54 +01:00
Fix a bug
This commit is contained in:
parent
c9a3c125a5
commit
4d0fe01bb7
@ -2729,7 +2729,11 @@ public class DisguiseUtilities {
|
||||
internalOldNames = new String[]{StringUtils.join(internalOldNames, "\\n")};
|
||||
|
||||
if (!disguise.isPlayerDisguise() || ((PlayerDisguise) disguise).isNameVisible()) {
|
||||
newNames = new String[]{StringUtils.join(newNames, "\\n")};
|
||||
if (disguise.getMultiName().length > 1) {
|
||||
getLogger().info("Multiline names is a premium feature, sorry!");
|
||||
}
|
||||
|
||||
newNames = new String[]{StringUtils.join(disguise.getMultiName(), "\\n")};
|
||||
}
|
||||
} else {
|
||||
newNames = (disguise instanceof PlayerDisguise && !((PlayerDisguise) disguise).isNameVisible()) ?
|
||||
|
Loading…
Reference in New Issue
Block a user