Don't set a clan's lastOnline time to Timestamp(0)

Partially reverts f011fdad5f
This commit is contained in:
cnr 2016-04-15 11:46:28 -05:00
parent 0a32eed15d
commit 91d5851628

View File

@ -522,8 +522,7 @@ public class ClansGame extends MiniPlugin
ClanInfo clan = _clans.getClanUtility().getClanByPlayer(event.getPlayer());
if (clan == null) return;
if(!clan.isOnline()) clan.setLastOnline(new Timestamp(System.currentTimeMillis())); //Noone else on
else clan.setLastOnline(new Timestamp(0));
clan.setLastOnline(new Timestamp(System.currentTimeMillis()));
}
@EventHandler(priority = EventPriority.LOWEST)