Title length adjustment for players.
This commit is contained in:
parent
fb661375c5
commit
97649c5ca2
@ -2323,7 +2323,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
}
|
||||
else
|
||||
{
|
||||
_title = value.length() > 21 ? value.substring(0, 20) : value;
|
||||
_title = isPlayer() && (value.length() > 21) ? value.substring(0, 20) : value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2323,7 +2323,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
}
|
||||
else
|
||||
{
|
||||
_title = value.length() > 21 ? value.substring(0, 20) : value;
|
||||
_title = isPlayer() && (value.length() > 21) ? value.substring(0, 20) : value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2323,7 +2323,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
}
|
||||
else
|
||||
{
|
||||
_title = value.length() > 21 ? value.substring(0, 20) : value;
|
||||
_title = isPlayer() && (value.length() > 21) ? value.substring(0, 20) : value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2323,7 +2323,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
}
|
||||
else
|
||||
{
|
||||
_title = value.length() > 21 ? value.substring(0, 20) : value;
|
||||
_title = isPlayer() && (value.length() > 21) ? value.substring(0, 20) : value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2323,7 +2323,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
}
|
||||
else
|
||||
{
|
||||
_title = value.length() > 21 ? value.substring(0, 20) : value;
|
||||
_title = isPlayer() && (value.length() > 21) ? value.substring(0, 20) : value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2323,7 +2323,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
}
|
||||
else
|
||||
{
|
||||
_title = value.length() > 21 ? value.substring(0, 20) : value;
|
||||
_title = isPlayer() && (value.length() > 21) ? value.substring(0, 20) : value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2323,7 +2323,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
}
|
||||
else
|
||||
{
|
||||
_title = value.length() > 21 ? value.substring(0, 20) : value;
|
||||
_title = isPlayer() && (value.length() > 21) ? value.substring(0, 20) : value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2323,7 +2323,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
}
|
||||
else
|
||||
{
|
||||
_title = value.length() > 21 ? value.substring(0, 20) : value;
|
||||
_title = isPlayer() && (value.length() > 21) ? value.substring(0, 20) : value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2323,7 +2323,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
}
|
||||
else
|
||||
{
|
||||
_title = value;
|
||||
_title = isPlayer() && (value.length() > 21) ? value.substring(0, 20) : value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2323,7 +2323,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
}
|
||||
else
|
||||
{
|
||||
_title = value;
|
||||
_title = isPlayer() && (value.length() > 21) ? value.substring(0, 20) : value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2999,7 +2999,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
}
|
||||
else
|
||||
{
|
||||
_title = value.length() > 21 ? value.substring(0, 20) : value;
|
||||
_title = isPlayer() && (value.length() > 21) ? value.substring(0, 20) : value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3001,7 +3001,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
}
|
||||
else
|
||||
{
|
||||
_title = value.length() > 21 ? value.substring(0, 20) : value;
|
||||
_title = isPlayer() && (value.length() > 21) ? value.substring(0, 20) : value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2323,7 +2323,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
}
|
||||
else
|
||||
{
|
||||
_title = value.length() > 21 ? value.substring(0, 20) : value;
|
||||
_title = isPlayer() && (value.length() > 21) ? value.substring(0, 20) : value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2323,7 +2323,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
}
|
||||
else
|
||||
{
|
||||
_title = value.length() > 21 ? value.substring(0, 20) : value;
|
||||
_title = isPlayer() && (value.length() > 21) ? value.substring(0, 20) : value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2323,7 +2323,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
}
|
||||
else
|
||||
{
|
||||
_title = value.length() > 21 ? value.substring(0, 20) : value;
|
||||
_title = isPlayer() && (value.length() > 21) ? value.substring(0, 20) : value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2324,7 +2324,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
}
|
||||
else
|
||||
{
|
||||
_title = value.length() > 21 ? value.substring(0, 20) : value;
|
||||
_title = isPlayer() && (value.length() > 21) ? value.substring(0, 20) : value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2324,7 +2324,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
}
|
||||
else
|
||||
{
|
||||
_title = value.length() > 21 ? value.substring(0, 20) : value;
|
||||
_title = isPlayer() && (value.length() > 21) ? value.substring(0, 20) : value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2324,7 +2324,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
}
|
||||
else
|
||||
{
|
||||
_title = value.length() > 21 ? value.substring(0, 20) : value;
|
||||
_title = isPlayer() && (value.length() > 21) ? value.substring(0, 20) : value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2323,7 +2323,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
}
|
||||
else
|
||||
{
|
||||
_title = value.length() > 21 ? value.substring(0, 20) : value;
|
||||
_title = isPlayer() && (value.length() > 21) ? value.substring(0, 20) : value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2327,7 +2327,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
}
|
||||
else
|
||||
{
|
||||
_title = value;
|
||||
_title = isPlayer() && (value.length() > 21) ? value.substring(0, 20) : value;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2334,7 +2334,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
}
|
||||
else
|
||||
{
|
||||
_title = value;
|
||||
_title = isPlayer() && (value.length() > 21) ? value.substring(0, 20) : value;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user