mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-01-19 08:55:26 +01:00
Added few forgotten things
This commit is contained in:
parent
81eadc1418
commit
e9c3583fd8
@ -97,7 +97,7 @@ public class PlayerProfile {
|
||||
lastlogin = ((Long) (System.currentTimeMillis() / 1000)).intValue();
|
||||
}
|
||||
|
||||
public Player getlayer() {
|
||||
public Player getPlayer() {
|
||||
return player;
|
||||
}
|
||||
|
||||
@ -107,6 +107,7 @@ public class PlayerProfile {
|
||||
|
||||
public void setPlayer(Player player) {
|
||||
this.player = player;
|
||||
this.playerName = player.getName();
|
||||
}
|
||||
|
||||
public boolean loadMySQL() {
|
||||
|
@ -401,7 +401,7 @@ public class PartyManager {
|
||||
}
|
||||
|
||||
/**
|
||||
* Load all party related files.
|
||||
* Load party file.
|
||||
*/
|
||||
private void loadParties() {
|
||||
File file = new File(partiesFilePath);
|
||||
@ -432,9 +432,7 @@ public class PartyManager {
|
||||
}
|
||||
|
||||
/**
|
||||
* Save all party-related files.
|
||||
*
|
||||
* @throws Exception
|
||||
* Save party file.
|
||||
*/
|
||||
public void saveParties() {
|
||||
File file = new File(partiesFilePath);
|
||||
|
Loading…
x
Reference in New Issue
Block a user