Boxed Title

This commit is contained in:
2024-05-10 18:12:51 -05:00
parent 38816f25bb
commit d968c4eca4
2 changed files with 6 additions and 2 deletions
+2 -1
View File
@@ -21,7 +21,8 @@ public enum CharacterTitle {
CSR_3(255, 0, 0, "CCR"),
CSR_4(251, 181, 13, "CCR"),
DEVELOPER(166, 153, 114, "Programmer"),
QA(88, 250, 244, "GIRLFRIEND");
QA(88, 250, 244, "GIRLFRIEND"),
BOX(251, 181, 13, "[BOXED]");
int headerLength, footerLength;
private ByteBuffer header;
+4 -1
View File
@@ -4869,10 +4869,13 @@ public class PlayerCharacter extends AbstractCharacter {
continue;
if (pc.equals(player))
continue;
if (pc.isBoxed == false)
if (pc.isBoxed == false) {
player.title = CharacterTitle.BOX;
return true;
}
}
player.title = CharacterTitle.NONE;
return false;
}catch(Exception e){
return false;