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