Boxed Title
This commit is contained in:
@@ -21,7 +21,8 @@ public enum CharacterTitle {
|
|||||||
CSR_3(255, 0, 0, "CCR"),
|
CSR_3(255, 0, 0, "CCR"),
|
||||||
CSR_4(251, 181, 13, "CCR"),
|
CSR_4(251, 181, 13, "CCR"),
|
||||||
DEVELOPER(166, 153, 114, "Programmer"),
|
DEVELOPER(166, 153, 114, "Programmer"),
|
||||||
QA(88, 250, 244, "GIRLFRIEND");
|
QA(88, 250, 244, "GIRLFRIEND"),
|
||||||
|
BOX(251, 181, 13, "[BOXED]");
|
||||||
|
|
||||||
int headerLength, footerLength;
|
int headerLength, footerLength;
|
||||||
private ByteBuffer header;
|
private ByteBuffer header;
|
||||||
|
|||||||
@@ -4869,10 +4869,13 @@ public class PlayerCharacter extends AbstractCharacter {
|
|||||||
continue;
|
continue;
|
||||||
if (pc.equals(player))
|
if (pc.equals(player))
|
||||||
continue;
|
continue;
|
||||||
if (pc.isBoxed == false)
|
if (pc.isBoxed == false) {
|
||||||
|
player.title = CharacterTitle.BOX;
|
||||||
return true;
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
player.title = CharacterTitle.NONE;
|
||||||
return false;
|
return false;
|
||||||
}catch(Exception e){
|
}catch(Exception e){
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user