Added few forgotten things

This commit is contained in:
bm01 2012-06-09 20:11:11 +02:00
parent 81eadc1418
commit e9c3583fd8
2 changed files with 4 additions and 5 deletions

View File

@ -97,7 +97,7 @@ public class PlayerProfile {
lastlogin = ((Long) (System.currentTimeMillis() / 1000)).intValue(); lastlogin = ((Long) (System.currentTimeMillis() / 1000)).intValue();
} }
public Player getlayer() { public Player getPlayer() {
return player; return player;
} }
@ -107,6 +107,7 @@ public class PlayerProfile {
public void setPlayer(Player player) { public void setPlayer(Player player) {
this.player = player; this.player = player;
this.playerName = player.getName();
} }
public boolean loadMySQL() { public boolean loadMySQL() {

View File

@ -401,7 +401,7 @@ public class PartyManager {
} }
/** /**
* Load all party related files. * Load party file.
*/ */
private void loadParties() { private void loadParties() {
File file = new File(partiesFilePath); File file = new File(partiesFilePath);
@ -432,9 +432,7 @@ public class PartyManager {
} }
/** /**
* Save all party-related files. * Save party file.
*
* @throws Exception
*/ */
public void saveParties() { public void saveParties() {
File file = new File(partiesFilePath); File file = new File(partiesFilePath);