private static void OnPlayerPlacedBlock( object sender, [NotNull] PlayerPlacedBlockEventArgs e )
{
if ( e == null )
throw new ArgumentNullException( "e" );
World world = e.Map.World;
if ( world != null && world.BlockDB.IsEnabled ) {
BlockDBEntry newEntry = new BlockDBEntry( ( int )DateTime.UtcNow.ToUnixTime(),
e.Player.Info.ID,
e.Coords,
e.OldBlock,
e.NewBlock,
e.Context );
world.BlockDB.AddEntry( newEntry );
}
}