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
1 changed files with 1 additions and 2 deletions

View File

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