stealth breaking when attacking
This commit is contained in:
@@ -4863,7 +4863,7 @@ public class PlayerCharacter extends AbstractCharacter {
|
|||||||
ItemFactory.fillInventory(this, 980066, 1);
|
ItemFactory.fillInventory(this, 980066, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
checkIfBoxed(this);
|
this.isBoxed = checkIfBoxed(this);
|
||||||
if(this.isBoxed) {
|
if(this.isBoxed) {
|
||||||
if(!this.title.equals(CharacterTitle.BOX)) {
|
if(!this.title.equals(CharacterTitle.BOX)) {
|
||||||
this.title = CharacterTitle.BOX;
|
this.title = CharacterTitle.BOX;
|
||||||
@@ -4904,12 +4904,10 @@ public class PlayerCharacter extends AbstractCharacter {
|
|||||||
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