fixes offline

This commit is contained in:
boy0001 2015-02-04 15:44:27 +11:00
parent d819731934
commit d42ae87ea3

View File

@ -164,8 +164,13 @@ public class ExpireManager {
String filename = null;
if (PlotMain.checkVersion()) {
foldername = "playerdata";
try {
filename = op.getUniqueId() +".dat";
}
catch (Throwable e) {
filename = uuid.toString() + ".dat";
}
}
else {
foldername = "players";
String playername = UUIDHandler.getName(uuid);