mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-01-19 16:59:37 +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();
|
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() {
|
||||||
|
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user