stealth breaking when attacking
This commit is contained in:
@@ -4863,7 +4863,7 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
ItemFactory.fillInventory(this, 980066, 1);
|
||||
}
|
||||
}
|
||||
checkIfBoxed(this);
|
||||
this.isBoxed = checkIfBoxed(this);
|
||||
if(this.isBoxed) {
|
||||
if(!this.title.equals(CharacterTitle.BOX)) {
|
||||
this.title = CharacterTitle.BOX;
|
||||
@@ -4904,12 +4904,10 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
if (pc.equals(player))
|
||||
continue;
|
||||
if (pc.isBoxed == false) {
|
||||
player.title = CharacterTitle.BOX;
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
player.title = CharacterTitle.NONE;
|
||||
return false;
|
||||
}catch(Exception e){
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user