forked from 2009Scape/Server
changed setHardcoreDeath as true to represent the change to a boolean variable
This commit is contained in:
parent
e8c54a5594
commit
8c486b976c
1 changed files with 1 additions and 1 deletions
|
|
@ -503,7 +503,7 @@ public class Player extends Entity {
|
|||
String gender = this.isMale() ? "Man " : "Woman ";
|
||||
Repository.sendNews("Hardcore Iron " + gender + " " + this.getUsername() +" has fallen. Total Level: " + this.getSkills().getTotalLevel()); // Not enough room for XP
|
||||
this.getIronmanManager().setMode(IronmanMode.STANDARD);
|
||||
asPlayer().getSavedData().getActivityData().setHardcoreDeath(1);
|
||||
asPlayer().getSavedData().getActivityData().setHardcoreDeath(true);
|
||||
this.sendMessage("You have fallen as a Hardcore Iron Man, your Hardcore status has been revoked.");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue