mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-23 05:36:45 +01:00
fixes offline
This commit is contained in:
parent
d819731934
commit
d42ae87ea3
@ -164,8 +164,13 @@ public class ExpireManager {
|
|||||||
String filename = null;
|
String filename = null;
|
||||||
if (PlotMain.checkVersion()) {
|
if (PlotMain.checkVersion()) {
|
||||||
foldername = "playerdata";
|
foldername = "playerdata";
|
||||||
|
try {
|
||||||
|
filename = op.getUniqueId() +".dat";
|
||||||
|
}
|
||||||
|
catch (Throwable e) {
|
||||||
filename = uuid.toString() + ".dat";
|
filename = uuid.toString() + ".dat";
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
foldername = "players";
|
foldername = "players";
|
||||||
String playername = UUIDHandler.getName(uuid);
|
String playername = UUIDHandler.getName(uuid);
|
||||||
|
Loading…
Reference in New Issue
Block a user