forked from 2009Scape/Server
changed the check to true rather than 1 to reflect the boolean format change
This commit is contained in:
parent
cc29ed613b
commit
0ea681972f
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ public final class HighscoreSQLHandler extends SQLEntryHandler<Player> {
|
|||
create();
|
||||
return;
|
||||
}
|
||||
if (entry.getSavedData().getActivityData().getHardcoreDeath() == 1){
|
||||
if (entry.getSavedData().getActivityData().getHardcoreDeath() == true){
|
||||
//Update the SQL table to indicate the player was a Hardcore ironman that died, do not update hiscores
|
||||
StringBuilder b = new StringBuilder("UPDATE highscores SET ironManMode='HARDCORE_DEAD' WHERE username ='" + value + "'");
|
||||
PreparedStatement statement = connection.prepareStatement(b.toString());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue