diff --git a/src/me/ryanhamshire/GriefPrevention/CleanupUnusedClaimPreTask.java b/src/me/ryanhamshire/GriefPrevention/CleanupUnusedClaimPreTask.java index 168b781..93eace3 100644 --- a/src/me/ryanhamshire/GriefPrevention/CleanupUnusedClaimPreTask.java +++ b/src/me/ryanhamshire/GriefPrevention/CleanupUnusedClaimPreTask.java @@ -43,6 +43,7 @@ class CleanupUnusedClaimPreTask implements Runnable //expiration code uses last logout timestamp to decide whether to expire claims //don't expire claims for online players if(ownerInfo.isOnline()) return; + if(ownerInfo.getLastPlayed() <= 0) return; GriefPrevention.AddLogEntry("Looking for expired claims. Checking data for " + claim.ownerID.toString(), CustomLogEntryTypes.Debug, true);