This commit is contained in:
Jesse Boyd 2016-08-19 12:16:04 +10:00
parent 56907e4580
commit bc0c0abe7e

View File

@ -366,7 +366,7 @@ public class ExpireManager {
} else {
opp = UUIDHandler.getUUIDWrapper().getOfflinePlayer(name);
}
if ((last = opp.getLastPlayed()) != 0) {
if (opp != null && (last = opp.getLastPlayed()) != 0) {
this.dates_cache.put(uuid, last);
} else {
return 0;