mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-12 03:59:22 +00:00
fixes offline
This commit is contained in:
parent
d819731934
commit
d42ae87ea3
1 changed files with 6 additions and 1 deletions
|
@ -164,7 +164,12 @@ public class ExpireManager {
|
|||
String filename = null;
|
||||
if (PlotMain.checkVersion()) {
|
||||
foldername = "playerdata";
|
||||
filename = uuid.toString() + ".dat";
|
||||
try {
|
||||
filename = op.getUniqueId() +".dat";
|
||||
}
|
||||
catch (Throwable e) {
|
||||
filename = uuid.toString() + ".dat";
|
||||
}
|
||||
}
|
||||
else {
|
||||
foldername = "players";
|
||||
|
|
Loading…
Reference in a new issue