mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-03 00:31:51 +00:00
Merge pull request #150 from Dark98/master
Fix Highscores problem & only Save Highscores for Mod & Lower
This commit is contained in:
@@ -565,7 +565,7 @@ public class Client extends Player {
|
||||
Server.clanChat.leaveClan(playerId, clanId);
|
||||
}
|
||||
|
||||
if(!Server.ersSecret.equals("")) {
|
||||
if(Server.ersSecret != null && !Server.ersSecret.equals("") && this.playerRights < 2) {
|
||||
boolean debugMessage = false;
|
||||
System.out.println("Updating highscores for " + this.playerName + "!");
|
||||
com.everythingrs.hiscores.Hiscores.update(Server.ersSecret, "Normal Mode", this.playerName, this.playerRights, this.playerXP, debugMessage);
|
||||
|
||||
Reference in New Issue
Block a user